PostgreSQL Source Code: src/include/access/spgist.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef SPGIST_H
15#define SPGIST_H
16
20
21
22
23#define SPGIST_CONFIG_PROC 1
24#define SPGIST_CHOOSE_PROC 2
25#define SPGIST_PICKSPLIT_PROC 3
26#define SPGIST_INNER_CONSISTENT_PROC 4
27#define SPGIST_LEAF_CONSISTENT_PROC 5
28#define SPGIST_COMPRESS_PROC 6
29#define SPGIST_OPTIONS_PROC 7
30#define SPGISTNRequiredProc 5
31#define SPGISTNProc 7
32
33
34
35
40
49
50
51
52
66
73
106
107
108
109
116
128
129
130
131
153
163
164
165
166
182
190
191
192
194
195
204
205
209 ScanKey orderbys, int norderbys);
213
214
218 void *callback_state);
221
222
225 Oid opclassoid,
226 List *operators,
228
229#endif
static bool validate(Port *port, const char *auth)
static Datum values[MAXATTR]
bool(* IndexBulkDeleteCallback)(ItemPointer itemptr, void *state)
static const struct fns functions
IndexScanDesc spgbeginscan(Relation rel, int keysz, int orderbysz)
bool spgcanreturn(Relation index, int attno)
bool spggettuple(IndexScanDesc scan, ScanDirection dir)
void spgendscan(IndexScanDesc scan)
IndexBulkDeleteResult * spgbulkdelete(IndexVacuumInfo *info, IndexBulkDeleteResult *stats, IndexBulkDeleteCallback callback, void *callback_state)
bool spgvalidate(Oid opclassoid)
void spgbuildempty(Relation index)
bool spginsert(Relation index, Datum *values, bool *isnull, ItemPointer ht_ctid, Relation heapRel, IndexUniqueCheck checkUnique, bool indexUnchanged, struct IndexInfo *indexInfo)
IndexBulkDeleteResult * spgvacuumcleanup(IndexVacuumInfo *info, IndexBulkDeleteResult *stats)
bytea * spgoptions(Datum reloptions, bool validate)
void spgadjustmembers(Oid opfamilyoid, Oid opclassoid, List *operators, List *functions)
void spgrescan(IndexScanDesc scan, ScanKey scankey, int nscankeys, ScanKey orderbys, int norderbys)
int64 spggetbitmap(IndexScanDesc scan, TIDBitmap *tbm)
IndexBuildResult * spgbuild(Relation heap, Relation index, struct IndexInfo *indexInfo)
union spgChooseOut::@56 result
struct spgChooseOut::@56::@59 splitTuple
spgChooseResultType resultType
struct spgChooseOut::@56::@58 addNode
struct spgChooseOut::@56::@57 matchNode
MemoryContext traversalMemoryContext
Datum * reconstructedValues
static void callback(struct sockaddr *addr, struct sockaddr *mask, void *unused)