]> granicus.if.org Git - postgresql/commitdiff
Trim spgist_private.h inclusion
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 31 Aug 2012 21:04:31 +0000 (17:04 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 5 Sep 2012 14:06:51 +0000 (11:06 -0300)
It doesn't really need rel.h; relcache.h is enough.

src/backend/access/spgist/spgdoinsert.c
src/backend/access/spgist/spginsert.c
src/backend/access/spgist/spgscan.c
src/include/access/spgist_private.h

index 36d05703629b3221ea7a357d81e7d71149048e68..36e57ba00430c84ce16a9d7c3df72d371beb9d23 100644 (file)
@@ -19,6 +19,7 @@
 #include "access/spgist_private.h"
 #include "miscadmin.h"
 #include "storage/bufmgr.h"
+#include "utils/rel.h"
 
 
 /*
index d2893c6f3a9817654f99cc09871a80acef609498..0c2466c9621e7de070023d1ef199efc1652a71e0 100644 (file)
@@ -24,6 +24,7 @@
 #include "storage/bufmgr.h"
 #include "storage/smgr.h"
 #include "utils/memutils.h"
+#include "utils/rel.h"
 
 
 typedef struct
index 2a083b7c388beb3f00de872bec34252e04391f62..6c6f1b6084e00d9a69e656bdbc74ed8bef1a2c45 100644 (file)
@@ -21,6 +21,7 @@
 #include "storage/bufmgr.h"
 #include "utils/datum.h"
 #include "utils/memutils.h"
+#include "utils/rel.h"
 
 
 typedef void (*storeRes_func) (SpGistScanOpaque so, ItemPointer heapPtr,
index b5bc45121aa8a84cf30609aa9302897b447f5625..edce9854c28e711f0f09a716676ccc1cb570cd88 100644 (file)
@@ -17,7 +17,8 @@
 #include "access/itup.h"
 #include "access/spgist.h"
 #include "nodes/tidbitmap.h"
-#include "utils/rel.h"
+#include "storage/relfilenode.h"
+#include "utils/relcache.h"
 
 
 /* Page numbers of fixed-location pages */