aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/gistscan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/access/gistscan.h')
-rw-r--r--src/include/access/gistscan.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/access/gistscan.h b/src/include/access/gistscan.h
index a7d498758c4..4acaebdc9ed 100644
--- a/src/include/access/gistscan.h
+++ b/src/include/access/gistscan.h
@@ -14,12 +14,11 @@
#ifndef GISTSCAN_H
#define GISTSCAN_H
-#include "fmgr.h"
+#include "access/amapi.h"
-extern Datum gistbeginscan(PG_FUNCTION_ARGS);
-extern Datum gistrescan(PG_FUNCTION_ARGS);
-extern Datum gistmarkpos(PG_FUNCTION_ARGS);
-extern Datum gistrestrpos(PG_FUNCTION_ARGS);
-extern Datum gistendscan(PG_FUNCTION_ARGS);
+extern IndexScanDesc gistbeginscan(Relation r, int nkeys, int norderbys);
+extern void gistrescan(IndexScanDesc scan, ScanKey key, int nkeys,
+ ScanKey orderbys, int norderbys);
+extern void gistendscan(IndexScanDesc scan);
#endif /* GISTSCAN_H */