From 21c09e99dc252269360bd146afee9481fa80abbc Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Tue, 28 Aug 2012 19:02:00 -0400 Subject: Split heapam_xlog.h from heapam.h The heapam XLog functions are used by other modules, not all of which are interested in the rest of the heapam API. With this, we let them get just the XLog stuff in which they are interested and not pollute them with unrelated includes. Also, since heapam.h no longer requires xlog.h, many files that do include heapam.h no longer get xlog.h automatically, including a few headers. This is useful because heapam.h is getting pulled in by execnodes.h, which is in turn included by a lot of files. --- src/backend/access/spgist/spginsert.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/access/spgist/spginsert.c') diff --git a/src/backend/access/spgist/spginsert.c b/src/backend/access/spgist/spginsert.c index 456a71fbba5..d2893c6f3a9 100644 --- a/src/backend/access/spgist/spginsert.c +++ b/src/backend/access/spgist/spginsert.c @@ -17,6 +17,7 @@ #include "postgres.h" #include "access/genam.h" +#include "access/heapam_xlog.h" #include "access/spgist_private.h" #include "catalog/index.h" #include "miscadmin.h" -- cgit v1.2.3