@@ -45,7 +45,6 @@ CATALOG(pg_am,2601)
45
45
bool amcanbackward ; /* does AM support backward scan? */
46
46
bool amcanunique ; /* does AM support UNIQUE indexes? */
47
47
bool amcanmulticol ; /* does AM support multi-column indexes? */
48
- bool amcanreturn ; /* can AM return IndexTuples? */
49
48
bool amoptionalkey ; /* can query omit key for the first column? */
50
49
bool amsearcharray ; /* can AM handle ScalarArrayOpExpr quals? */
51
50
bool amsearchnulls ; /* can AM search for NULL/NOT NULL entries? */
@@ -65,6 +64,7 @@ CATALOG(pg_am,2601)
65
64
regproc ambuildempty ; /* "build empty index" function */
66
65
regproc ambulkdelete ; /* bulk-delete function */
67
66
regproc amvacuumcleanup ; /* post-VACUUM cleanup function */
67
+ regproc amcanreturn ; /* can indexscan return IndexTuples? */
68
68
regproc amcostestimate ; /* estimate cost of an indexscan */
69
69
regproc amoptions ; /* parse AM-specific parameters */
70
70
} FormData_pg_am ;
@@ -89,26 +89,26 @@ typedef FormData_pg_am *Form_pg_am;
89
89
#define Anum_pg_am_amcanbackward 6
90
90
#define Anum_pg_am_amcanunique 7
91
91
#define Anum_pg_am_amcanmulticol 8
92
- #define Anum_pg_am_amcanreturn 9
93
- #define Anum_pg_am_amoptionalkey 10
94
- #define Anum_pg_am_amsearcharray 11
95
- #define Anum_pg_am_amsearchnulls 12
96
- #define Anum_pg_am_amstorage 13
97
- #define Anum_pg_am_amclusterable 14
98
- #define Anum_pg_am_ampredlocks 15
99
- #define Anum_pg_am_amkeytype 16
100
- #define Anum_pg_am_aminsert 17
101
- #define Anum_pg_am_ambeginscan 18
102
- #define Anum_pg_am_amgettuple 19
103
- #define Anum_pg_am_amgetbitmap 20
104
- #define Anum_pg_am_amrescan 21
105
- #define Anum_pg_am_amendscan 22
106
- #define Anum_pg_am_ammarkpos 23
107
- #define Anum_pg_am_amrestrpos 24
108
- #define Anum_pg_am_ambuild 25
109
- #define Anum_pg_am_ambuildempty 26
110
- #define Anum_pg_am_ambulkdelete 27
111
- #define Anum_pg_am_amvacuumcleanup 28
92
+ #define Anum_pg_am_amoptionalkey 9
93
+ #define Anum_pg_am_amsearcharray 10
94
+ #define Anum_pg_am_amsearchnulls 11
95
+ #define Anum_pg_am_amstorage 12
96
+ #define Anum_pg_am_amclusterable 13
97
+ #define Anum_pg_am_ampredlocks 14
98
+ #define Anum_pg_am_amkeytype 15
99
+ #define Anum_pg_am_aminsert 16
100
+ #define Anum_pg_am_ambeginscan 17
101
+ #define Anum_pg_am_amgettuple 18
102
+ #define Anum_pg_am_amgetbitmap 19
103
+ #define Anum_pg_am_amrescan 20
104
+ #define Anum_pg_am_amendscan 21
105
+ #define Anum_pg_am_ammarkpos 22
106
+ #define Anum_pg_am_amrestrpos 23
107
+ #define Anum_pg_am_ambuild 24
108
+ #define Anum_pg_am_ambuildempty 25
109
+ #define Anum_pg_am_ambulkdelete 26
110
+ #define Anum_pg_am_amvacuumcleanup 27
111
+ #define Anum_pg_am_amcanreturn 28
112
112
#define Anum_pg_am_amcostestimate 29
113
113
#define Anum_pg_am_amoptions 30
114
114
@@ -117,19 +117,19 @@ typedef FormData_pg_am *Form_pg_am;
117
117
* ----------------
118
118
*/
119
119
120
- DATA (insert OID = 403 ( btree 5 2 t f t t t t t t t f t t 0 btinsert btbeginscan btgettuple btgetbitmap btrescan btendscan btmarkpos btrestrpos btbuild btbuildempty btbulkdelete btvacuumcleanup btcostestimate btoptions ));
120
+ DATA (insert OID = 403 ( btree 5 2 t f t t t t t t f t t 0 btinsert btbeginscan btgettuple btgetbitmap btrescan btendscan btmarkpos btrestrpos btbuild btbuildempty btbulkdelete btvacuumcleanup btcanreturn btcostestimate btoptions ));
121
121
DESCR ("b-tree index access method" );
122
122
#define BTREE_AM_OID 403
123
- DATA (insert OID = 405 ( hash 1 1 f f t f f f f f f f f f 23 hashinsert hashbeginscan hashgettuple hashgetbitmap hashrescan hashendscan hashmarkpos hashrestrpos hashbuild hashbuildempty hashbulkdelete hashvacuumcleanup hashcostestimate hashoptions ));
123
+ DATA (insert OID = 405 ( hash 1 1 f f t f f f f f f f f 23 hashinsert hashbeginscan hashgettuple hashgetbitmap hashrescan hashendscan hashmarkpos hashrestrpos hashbuild hashbuildempty hashbulkdelete hashvacuumcleanup - hashcostestimate hashoptions ));
124
124
DESCR ("hash index access method" );
125
125
#define HASH_AM_OID 405
126
- DATA (insert OID = 783 ( gist 0 8 f t f f t f t f t t t f 0 gistinsert gistbeginscan gistgettuple gistgetbitmap gistrescan gistendscan gistmarkpos gistrestrpos gistbuild gistbuildempty gistbulkdelete gistvacuumcleanup gistcostestimate gistoptions ));
126
+ DATA (insert OID = 783 ( gist 0 8 f t f f t t f t t t f 0 gistinsert gistbeginscan gistgettuple gistgetbitmap gistrescan gistendscan gistmarkpos gistrestrpos gistbuild gistbuildempty gistbulkdelete gistvacuumcleanup - gistcostestimate gistoptions ));
127
127
DESCR ("GiST index access method" );
128
128
#define GIST_AM_OID 783
129
- DATA (insert OID = 2742 ( gin 0 5 f f f f t f t f f t f f 0 gininsert ginbeginscan - gingetbitmap ginrescan ginendscan ginmarkpos ginrestrpos ginbuild ginbuildempty ginbulkdelete ginvacuumcleanup gincostestimate ginoptions ));
129
+ DATA (insert OID = 2742 ( gin 0 5 f f f f t t f f t f f 0 gininsert ginbeginscan - gingetbitmap ginrescan ginendscan ginmarkpos ginrestrpos ginbuild ginbuildempty ginbulkdelete ginvacuumcleanup - gincostestimate ginoptions ));
130
130
DESCR ("GIN index access method" );
131
131
#define GIN_AM_OID 2742
132
- DATA (insert OID = 4000 ( spgist 0 5 f f f f f f f f f f f f 0 spginsert spgbeginscan spggettuple spggetbitmap spgrescan spgendscan spgmarkpos spgrestrpos spgbuild spgbuildempty spgbulkdelete spgvacuumcleanup spgcostestimate spgoptions ));
132
+ DATA (insert OID = 4000 ( spgist 0 5 f f f f f f f f f f f 0 spginsert spgbeginscan spggettuple spggetbitmap spgrescan spgendscan spgmarkpos spgrestrpos spgbuild spgbuildempty spgbulkdelete spgvacuumcleanup spgcanreturn spgcostestimate spgoptions ));
133
133
DESCR ("SP-GiST index access method" );
134
134
#define SPGIST_AM_OID 4000
135
135
0 commit comments