|
8 | 8 | * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
|
9 | 9 | * Portions Copyright (c) 1994, Regents of the University of California
|
10 | 10 | *
|
11 |
| - * $PostgreSQL: pgsql/src/include/catalog/pg_am.h,v 1.58 2008/09/15 18:43:41 tgl Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/include/catalog/pg_am.h,v 1.59 2008/10/17 22:10:30 tgl Exp $ |
12 | 12 | *
|
13 | 13 | * NOTES
|
14 | 14 | * the genbki.sh script reads this file and generates .bki
|
@@ -41,6 +41,7 @@ CATALOG(pg_am,2601)
|
41 | 41 | int2 amsupport; /* total number of support functions that this
|
42 | 42 | * AM uses */
|
43 | 43 | bool amcanorder; /* does AM support ordered scan results? */
|
| 44 | + bool amcanbackward; /* does AM support backward scan? */ |
44 | 45 | bool amcanunique; /* does AM support UNIQUE indexes? */
|
45 | 46 | bool amcanmulticol; /* does AM support multi-column indexes? */
|
46 | 47 | bool amoptionalkey; /* can query omit key for the first column? */
|
@@ -75,48 +76,49 @@ typedef FormData_pg_am *Form_pg_am;
|
75 | 76 | * compiler constants for pg_am
|
76 | 77 | * ----------------
|
77 | 78 | */
|
78 |
| -#define Natts_pg_am 25 |
| 79 | +#define Natts_pg_am 26 |
79 | 80 | #define Anum_pg_am_amname 1
|
80 | 81 | #define Anum_pg_am_amstrategies 2
|
81 | 82 | #define Anum_pg_am_amsupport 3
|
82 | 83 | #define Anum_pg_am_amcanorder 4
|
83 |
| -#define Anum_pg_am_amcanunique 5 |
84 |
| -#define Anum_pg_am_amcanmulticol 6 |
85 |
| -#define Anum_pg_am_amoptionalkey 7 |
86 |
| -#define Anum_pg_am_amindexnulls 8 |
87 |
| -#define Anum_pg_am_amsearchnulls 9 |
88 |
| -#define Anum_pg_am_amstorage 10 |
89 |
| -#define Anum_pg_am_amclusterable 11 |
90 |
| -#define Anum_pg_am_amkeytype 12 |
91 |
| -#define Anum_pg_am_aminsert 13 |
92 |
| -#define Anum_pg_am_ambeginscan 14 |
93 |
| -#define Anum_pg_am_amgettuple 15 |
94 |
| -#define Anum_pg_am_amgetbitmap 16 |
95 |
| -#define Anum_pg_am_amrescan 17 |
96 |
| -#define Anum_pg_am_amendscan 18 |
97 |
| -#define Anum_pg_am_ammarkpos 19 |
98 |
| -#define Anum_pg_am_amrestrpos 20 |
99 |
| -#define Anum_pg_am_ambuild 21 |
100 |
| -#define Anum_pg_am_ambulkdelete 22 |
101 |
| -#define Anum_pg_am_amvacuumcleanup 23 |
102 |
| -#define Anum_pg_am_amcostestimate 24 |
103 |
| -#define Anum_pg_am_amoptions 25 |
| 84 | +#define Anum_pg_am_amcanbackward 5 |
| 85 | +#define Anum_pg_am_amcanunique 6 |
| 86 | +#define Anum_pg_am_amcanmulticol 7 |
| 87 | +#define Anum_pg_am_amoptionalkey 8 |
| 88 | +#define Anum_pg_am_amindexnulls 9 |
| 89 | +#define Anum_pg_am_amsearchnulls 10 |
| 90 | +#define Anum_pg_am_amstorage 11 |
| 91 | +#define Anum_pg_am_amclusterable 12 |
| 92 | +#define Anum_pg_am_amkeytype 13 |
| 93 | +#define Anum_pg_am_aminsert 14 |
| 94 | +#define Anum_pg_am_ambeginscan 15 |
| 95 | +#define Anum_pg_am_amgettuple 16 |
| 96 | +#define Anum_pg_am_amgetbitmap 17 |
| 97 | +#define Anum_pg_am_amrescan 18 |
| 98 | +#define Anum_pg_am_amendscan 19 |
| 99 | +#define Anum_pg_am_ammarkpos 20 |
| 100 | +#define Anum_pg_am_amrestrpos 21 |
| 101 | +#define Anum_pg_am_ambuild 22 |
| 102 | +#define Anum_pg_am_ambulkdelete 23 |
| 103 | +#define Anum_pg_am_amvacuumcleanup 24 |
| 104 | +#define Anum_pg_am_amcostestimate 25 |
| 105 | +#define Anum_pg_am_amoptions 26 |
104 | 106 |
|
105 | 107 | /* ----------------
|
106 | 108 | * initial contents of pg_am
|
107 | 109 | * ----------------
|
108 | 110 | */
|
109 | 111 |
|
110 |
| -DATA(insert OID = 403 ( btree 5 1 t t t t t t f t 0 btinsert btbeginscan btgettuple btgetbitmap btrescan btendscan btmarkpos btrestrpos btbuild btbulkdelete btvacuumcleanup btcostestimate btoptions )); |
| 112 | +DATA(insert OID = 403 ( btree 5 1 t t t t t t t f t 0 btinsert btbeginscan btgettuple btgetbitmap btrescan btendscan btmarkpos btrestrpos btbuild btbulkdelete btvacuumcleanup btcostestimate btoptions )); |
111 | 113 | DESCR("b-tree index access method");
|
112 | 114 | #define BTREE_AM_OID 403
|
113 |
| -DATA(insert OID = 405 ( hash 1 1 f f f f f f f f 23 hashinsert hashbeginscan hashgettuple hashgetbitmap hashrescan hashendscan hashmarkpos hashrestrpos hashbuild hashbulkdelete hashvacuumcleanup hashcostestimate hashoptions )); |
| 115 | +DATA(insert OID = 405 ( hash 1 1 f t f f f f f f f 23 hashinsert hashbeginscan hashgettuple hashgetbitmap hashrescan hashendscan hashmarkpos hashrestrpos hashbuild hashbulkdelete hashvacuumcleanup hashcostestimate hashoptions )); |
114 | 116 | DESCR("hash index access method");
|
115 | 117 | #define HASH_AM_OID 405
|
116 |
| -DATA(insert OID = 783 ( gist 0 7 f f t t t t t t 0 gistinsert gistbeginscan gistgettuple gistgetbitmap gistrescan gistendscan gistmarkpos gistrestrpos gistbuild gistbulkdelete gistvacuumcleanup gistcostestimate gistoptions )); |
| 118 | +DATA(insert OID = 783 ( gist 0 7 f f f t t t t t t 0 gistinsert gistbeginscan gistgettuple gistgetbitmap gistrescan gistendscan gistmarkpos gistrestrpos gistbuild gistbulkdelete gistvacuumcleanup gistcostestimate gistoptions )); |
117 | 119 | DESCR("GiST index access method");
|
118 | 120 | #define GIST_AM_OID 783
|
119 |
| -DATA(insert OID = 2742 ( gin 0 5 f f t t f f t f 0 gininsert ginbeginscan gingettuple gingetbitmap ginrescan ginendscan ginmarkpos ginrestrpos ginbuild ginbulkdelete ginvacuumcleanup gincostestimate ginoptions )); |
| 121 | +DATA(insert OID = 2742 ( gin 0 5 f f f t t f f t f 0 gininsert ginbeginscan gingettuple gingetbitmap ginrescan ginendscan ginmarkpos ginrestrpos ginbuild ginbulkdelete ginvacuumcleanup gincostestimate ginoptions )); |
120 | 122 | DESCR("GIN index access method");
|
121 | 123 | #define GIN_AM_OID 2742
|
122 | 124 |
|
|
0 commit comments