summaryrefslogtreecommitdiff
path: root/src/include/access/gist.h
diff options
context:
space:
mode:
authorTom Lane2000-06-13 07:35:40 +0000
committerTom Lane2000-06-13 07:35:40 +0000
commit41aae428bb843f8f18002ac033a7fd6cb97d8968 (patch)
treed5793067e0439b32c60c6639d1ac1626988ddaab /src/include/access/gist.h
parent32c8356245b2944ca4e5038d93ccd846e85ab20f (diff)
Another batch of fmgr updates. I think I have gotten all old-style
functions that take pass-by-value datatypes. Should be ready for port testing ...
Diffstat (limited to 'src/include/access/gist.h')
-rw-r--r--src/include/access/gist.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h
index 8c3c7a75fd..dd8f557e9b 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 */