summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-10-21 05:11:00 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-10-21 05:11:00 +0000
commit95874fa0343a4f1658fe662ab76d4be33b126c04 (patch)
treed95466c4f9ff8c7a7f9f7123465420d669763d66 /src/backend/access/gist/gistget.c
parent8325d9fc3b5ef8b4d65fd0c650e79b20b1af5b4b (diff)
downloadpostgresql-95874fa0343a4f1658fe662ab76d4be33b126c04.tar.gz
-Wall cleanup of gist subdirectory:
- cleaned out unused variables - added missing prototype headers One outstanding -Werror failure: /home/staff/scrappy/postgres/2.0/cvs/postgres95/src/backend/access/gist/giststra t.c:117: warning: missing braces around initializer for `GISTEvaluationData.expr ession'
Diffstat (limited to 'src/backend/access/gist/gistget.c')
-rw-r--r--src/backend/access/gist/gistget.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/backend/access/gist/gistget.c b/src/backend/access/gist/gistget.c
index 819d2ec4f0..1392ea3a1c 100644
--- a/src/backend/access/gist/gistget.c
+++ b/src/backend/access/gist/gistget.c
@@ -47,6 +47,20 @@
#include "access/gist.h"
+#include "executor/execdebug.h"
+
+#include "utils/palloc.h"
+
+#ifndef HAVE_MEMMOVE
+# include "regex/utils.h"
+#else
+# include <string.h>
+#endif
+
+#include <stdio.h>
+#include "storage/ipc.h"
+#include "storage/bufmgr.h"
+
static OffsetNumber gistfindnext(IndexScanDesc s, Page p, OffsetNumber n,
ScanDirection dir);
static RetrieveIndexResult gistscancache(IndexScanDesc s, ScanDirection dir);
@@ -306,7 +320,6 @@ gistfindnext(IndexScanDesc s, Page p, OffsetNumber n, ScanDirection dir)
char *it;
GISTPageOpaque po;
GISTScanOpaque so;
- GISTENTRY de;
GISTSTATE *giststate;
maxoff = PageGetMaxOffsetNumber(p);