@ -8,7 +8,7 @@
* Portions Copyright ( c ) 1996 - 2007 , PostgreSQL Global Development Group
* Portions Copyright ( c ) 1994 , Regents of the University of California
*
* $ PostgreSQL : pgsql / src / include / catalog / pg_am . h , v 1.49 2007 / 01 / 09 02 : 14 : 15 tgl Exp $
* $ PostgreSQL : pgsql / src / include / catalog / pg_am . h , v 1.50 2007 / 01 / 20 23 : 13 : 01 tgl Exp $
*
* NOTES
* the genbki . sh script reads this file and generates . bki
@ -45,12 +45,7 @@ CATALOG(pg_am,2601)
* strategy assignments . */
int2 amsupport ; /* total number of support functions that this
* AM uses */
int2 amorderstrategy ; /* if this AM has a sort order, the strategy
* number of the default ( ASC ) sort operator .
* Zero if AM is not ordered . */
int2 amdescorder ; /* if this AM has a sort order, the strategy
* number of the DESC sort operator .
* Zero if AM is not ordered . */
bool amcanorder ; /* does AM support ordered scan results? */
bool amcanunique ; /* does AM support UNIQUE indexes? */
bool amcanmulticol ; /* does AM support multi-column indexes? */
bool amoptionalkey ; /* can query omit key for the first column? */
@ -83,47 +78,46 @@ typedef FormData_pg_am *Form_pg_am;
* compiler constants for pg_am
* - - - - - - - - - - - - - - - -
*/
# define Natts_pg_am 24
# define Natts_pg_am 23
# define Anum_pg_am_amname 1
# define Anum_pg_am_amstrategies 2
# define Anum_pg_am_amsupport 3
# define Anum_pg_am_amorderstrategy 4
# define Anum_pg_am_amdescorder 5
# define Anum_pg_am_amcanunique 6
# define Anum_pg_am_amcanmulticol 7
# define Anum_pg_am_amoptionalkey 8
# define Anum_pg_am_amindexnulls 9
# define Anum_pg_am_amstorage 10
# define Anum_pg_am_amclusterable 11
# define Anum_pg_am_aminsert 12
# define Anum_pg_am_ambeginscan 13
# define Anum_pg_am_amgettuple 14
# define Anum_pg_am_amgetmulti 15
# define Anum_pg_am_amrescan 16
# define Anum_pg_am_amendscan 17
# define Anum_pg_am_ammarkpos 18
# define Anum_pg_am_amrestrpos 19
# define Anum_pg_am_ambuild 20
# define Anum_pg_am_ambulkdelete 21
# define Anum_pg_am_amvacuumcleanup 22
# define Anum_pg_am_amcostestimate 23
# define Anum_pg_am_amoptions 24
# define Anum_pg_am_amcanorder 4
# define Anum_pg_am_amcanunique 5
# define Anum_pg_am_amcanmulticol 6
# define Anum_pg_am_amoptionalkey 7
# define Anum_pg_am_amindexnulls 8
# define Anum_pg_am_amstorage 9
# define Anum_pg_am_amclusterable 10
# define Anum_pg_am_aminsert 11
# define Anum_pg_am_ambeginscan 12
# define Anum_pg_am_amgettuple 13
# define Anum_pg_am_amgetmulti 14
# define Anum_pg_am_amrescan 15
# define Anum_pg_am_amendscan 16
# define Anum_pg_am_ammarkpos 17
# define Anum_pg_am_amrestrpos 18
# define Anum_pg_am_ambuild 19
# define Anum_pg_am_ambulkdelete 20
# define Anum_pg_am_amvacuumcleanup 21
# define Anum_pg_am_amcostestimate 22
# define Anum_pg_am_amoptions 23
/* ----------------
* initial contents of pg_am
* - - - - - - - - - - - - - - - -
*/
DATA ( insert OID = 403 ( btree 5 1 1 5 t t t t f t btinsert btbeginscan btgettuple btgetmulti btrescan btendscan btmarkpos btrestrpos btbuild btbulkdelete btvacuumcleanup btcostestimate btoptions ) ) ;
DATA ( insert OID = 403 ( btree 5 1 t t t t t f t btinsert btbeginscan btgettuple btgetmulti btrescan btendscan btmarkpos btrestrpos btbuild btbulkdelete btvacuumcleanup btcostestimate btoptions ) ) ;
DESCR ( " b-tree index access method " ) ;
# define BTREE_AM_OID 403
DATA ( insert OID = 405 ( hash 1 1 0 0 f f f f f f hashinsert hashbeginscan hashgettuple hashgetmulti hashrescan hashendscan hashmarkpos hashrestrpos hashbuild hashbulkdelete hashvacuumcleanup hashcostestimate hashoptions ) ) ;
DATA ( insert OID = 405 ( hash 1 1 f f f f f f f hashinsert hashbeginscan hashgettuple hashgetmulti hashrescan hashendscan hashmarkpos hashrestrpos hashbuild hashbulkdelete hashvacuumcleanup hashcostestimate hashoptions ) ) ;
DESCR ( " hash index access method " ) ;
# define HASH_AM_OID 405
DATA ( insert OID = 783 ( gist 0 7 0 0 f t t t t t gistinsert gistbeginscan gistgettuple gistgetmulti gistrescan gistendscan gistmarkpos gistrestrpos gistbuild gistbulkdelete gistvacuumcleanup gistcostestimate gistoptions ) ) ;
DATA ( insert OID = 783 ( gist 0 7 f f t t t t t gistinsert gistbeginscan gistgettuple gistgetmulti gistrescan gistendscan gistmarkpos gistrestrpos gistbuild gistbulkdelete gistvacuumcleanup gistcostestimate gistoptions ) ) ;
DESCR ( " GiST index access method " ) ;
# define GIST_AM_OID 783
DATA ( insert OID = 2742 ( gin 0 4 0 0 f f f f t f gininsert ginbeginscan gingettuple gingetmulti ginrescan ginendscan ginmarkpos ginrestrpos ginbuild ginbulkdelete ginvacuumcleanup gincostestimate ginoptions ) ) ;
DATA ( insert OID = 2742 ( gin 0 4 f f f f f t f gininsert ginbeginscan gingettuple gingetmulti ginrescan ginendscan ginmarkpos ginrestrpos ginbuild ginbulkdelete ginvacuumcleanup gincostestimate ginoptions ) ) ;
DESCR ( " GIN index access method " ) ;
# define GIN_AM_OID 2742