diff options
Diffstat (limited to 'src/include/access/gist.h')
-rw-r--r-- | src/include/access/gist.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h index 8c3c7a75fd4..dd8f557e9ba 100644 --- a/src/include/access/gist.h +++ b/src/include/access/gist.h @@ -182,14 +182,9 @@ typedef struct intrange int flag; } INTRANGE; -extern void gistbuild(Relation heap, - Relation index, int natts, - AttrNumber *attnum, IndexStrategy istrat, - uint16 pint, Datum *params, - FuncIndexInfo *finfo, - PredInfo *predInfo); -extern InsertIndexResult gistinsert(Relation r, Datum *datum, - char *nulls, ItemPointer ht_ctid, Relation heapRel); +extern Datum gistbuild(PG_FUNCTION_ARGS); +extern Datum gistinsert(PG_FUNCTION_ARGS); +extern Datum gistdelete(PG_FUNCTION_ARGS); extern void _gistdump(Relation r); extern void gistfreestack(GISTSTACK *s); extern void initGISTstate(GISTSTATE *giststate, Relation index); @@ -198,6 +193,6 @@ extern void gistdentryinit(GISTSTATE *giststate, GISTENTRY *e, char *pr, extern StrategyNumber RelationGetGISTStrategy(Relation, AttrNumber, RegProcedure); /* gistget.c */ -extern RetrieveIndexResult gistgettuple(IndexScanDesc s, ScanDirection dir); +extern Datum gistgettuple(PG_FUNCTION_ARGS); #endif /* GIST_H */ |