|
8 | 8 | * Portions Copyright (c) 1996-2007, 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.49 2007/01/09 02:14:15 tgl Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/include/catalog/pg_am.h,v 1.50 2007/01/20 23:13:01 tgl Exp $ |
12 | 12 | *
|
13 | 13 | * NOTES
|
14 | 14 | *the genbki.sh script reads this file and generates .bki
|
@@ -45,12 +45,7 @@ CATALOG(pg_am,2601)
|
45 | 45 | * strategy assignments. */
|
46 | 46 | int2amsupport;/* total number of support functions that this
|
47 | 47 | * AM uses */
|
48 |
| -int2amorderstrategy;/* if this AM has a sort order, the strategy |
49 |
| - * number of the default (ASC) sort operator. |
50 |
| - * Zero if AM is not ordered. */ |
51 |
| -int2amdescorder;/* if this AM has a sort order, the strategy |
52 |
| - * number of the DESC sort operator. |
53 |
| - * Zero if AM is not ordered. */ |
| 48 | +boolamcanorder;/* does AM support ordered scan results? */ |
54 | 49 | boolamcanunique;/* does AM support UNIQUE indexes? */
|
55 | 50 | boolamcanmulticol;/* does AM support multi-column indexes? */
|
56 | 51 | boolamoptionalkey;/* can query omit key for the first column? */
|
@@ -83,47 +78,46 @@ typedef FormData_pg_am *Form_pg_am;
|
83 | 78 | *compiler constants for pg_am
|
84 | 79 | * ----------------
|
85 | 80 | */
|
86 |
| -#defineNatts_pg_am24 |
| 81 | +#defineNatts_pg_am23 |
87 | 82 | #defineAnum_pg_am_amname1
|
88 | 83 | #defineAnum_pg_am_amstrategies2
|
89 | 84 | #defineAnum_pg_am_amsupport3
|
90 |
| -#defineAnum_pg_am_amorderstrategy4 |
91 |
| -#defineAnum_pg_am_amdescorder5 |
92 |
| -#defineAnum_pg_am_amcanunique6 |
93 |
| -#defineAnum_pg_am_amcanmulticol7 |
94 |
| -#defineAnum_pg_am_amoptionalkey8 |
95 |
| -#defineAnum_pg_am_amindexnulls9 |
96 |
| -#defineAnum_pg_am_amstorage10 |
97 |
| -#defineAnum_pg_am_amclusterable11 |
98 |
| -#defineAnum_pg_am_aminsert12 |
99 |
| -#defineAnum_pg_am_ambeginscan13 |
100 |
| -#defineAnum_pg_am_amgettuple14 |
101 |
| -#defineAnum_pg_am_amgetmulti15 |
102 |
| -#defineAnum_pg_am_amrescan16 |
103 |
| -#defineAnum_pg_am_amendscan17 |
104 |
| -#defineAnum_pg_am_ammarkpos18 |
105 |
| -#defineAnum_pg_am_amrestrpos19 |
106 |
| -#defineAnum_pg_am_ambuild20 |
107 |
| -#defineAnum_pg_am_ambulkdelete21 |
108 |
| -#defineAnum_pg_am_amvacuumcleanup22 |
109 |
| -#defineAnum_pg_am_amcostestimate23 |
110 |
| -#defineAnum_pg_am_amoptions24 |
| 85 | +#defineAnum_pg_am_amcanorder4 |
| 86 | +#defineAnum_pg_am_amcanunique5 |
| 87 | +#defineAnum_pg_am_amcanmulticol6 |
| 88 | +#defineAnum_pg_am_amoptionalkey7 |
| 89 | +#defineAnum_pg_am_amindexnulls8 |
| 90 | +#defineAnum_pg_am_amstorage9 |
| 91 | +#defineAnum_pg_am_amclusterable10 |
| 92 | +#defineAnum_pg_am_aminsert11 |
| 93 | +#defineAnum_pg_am_ambeginscan12 |
| 94 | +#defineAnum_pg_am_amgettuple13 |
| 95 | +#defineAnum_pg_am_amgetmulti14 |
| 96 | +#defineAnum_pg_am_amrescan15 |
| 97 | +#defineAnum_pg_am_amendscan16 |
| 98 | +#defineAnum_pg_am_ammarkpos17 |
| 99 | +#defineAnum_pg_am_amrestrpos18 |
| 100 | +#defineAnum_pg_am_ambuild19 |
| 101 | +#defineAnum_pg_am_ambulkdelete20 |
| 102 | +#defineAnum_pg_am_amvacuumcleanup21 |
| 103 | +#defineAnum_pg_am_amcostestimate22 |
| 104 | +#defineAnum_pg_am_amoptions23 |
111 | 105 |
|
112 | 106 | /* ----------------
|
113 | 107 | *initial contents of pg_am
|
114 | 108 | * ----------------
|
115 | 109 | */
|
116 | 110 |
|
117 |
| -DATA(insertOID=403 (btree5115ttttftbtinsertbtbeginscanbtgettuplebtgetmultibtrescanbtendscanbtmarkposbtrestrposbtbuildbtbulkdeletebtvacuumcleanupbtcostestimatebtoptions )); |
| 111 | +DATA(insertOID=403 (btree51tttttftbtinsertbtbeginscanbtgettuplebtgetmultibtrescanbtendscanbtmarkposbtrestrposbtbuildbtbulkdeletebtvacuumcleanupbtcostestimatebtoptions )); |
118 | 112 | DESCR("b-tree index access method");
|
119 | 113 | #defineBTREE_AM_OID 403
|
120 |
| -DATA(insertOID=405 (hash1100ffffffhashinserthashbeginscanhashgettuplehashgetmultihashrescanhashendscanhashmarkposhashrestrposhashbuildhashbulkdeletehashvacuumcleanuphashcostestimatehashoptions )); |
| 114 | +DATA(insertOID=405 (hash11fffffffhashinserthashbeginscanhashgettuplehashgetmultihashrescanhashendscanhashmarkposhashrestrposhashbuildhashbulkdeletehashvacuumcleanuphashcostestimatehashoptions )); |
121 | 115 | DESCR("hash index access method");
|
122 | 116 | #defineHASH_AM_OID 405
|
123 |
| -DATA(insertOID=783 (gist0700ftttttgistinsertgistbeginscangistgettuplegistgetmultigistrescangistendscangistmarkposgistrestrposgistbuildgistbulkdeletegistvacuumcleanupgistcostestimategistoptions )); |
| 117 | +DATA(insertOID=783 (gist07fftttttgistinsertgistbeginscangistgettuplegistgetmultigistrescangistendscangistmarkposgistrestrposgistbuildgistbulkdeletegistvacuumcleanupgistcostestimategistoptions )); |
124 | 118 | DESCR("GiST index access method");
|
125 | 119 | #defineGIST_AM_OID 783
|
126 |
| -DATA(insertOID=2742 (gin0400fffftfgininsertginbeginscangingettuplegingetmultiginrescanginendscanginmarkposginrestrposginbuildginbulkdeleteginvacuumcleanupgincostestimateginoptions )); |
| 120 | +DATA(insertOID=2742 (gin04ffffftfgininsertginbeginscangingettuplegingetmultiginrescanginendscanginmarkposginrestrposginbuildginbulkdeleteginvacuumcleanupgincostestimateginoptions )); |
127 | 121 | DESCR("GIN index access method");
|
128 | 122 | #defineGIN_AM_OID 2742
|
129 | 123 |
|
|