aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/spgist/spgdoinsert.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-02-14 15:37:59 -0500
committerRobert Haas <rhaas@postgresql.org>2017-02-14 15:37:59 -0500
commit8da9a226369e9ceec7cef1ab7a16cdc0adb4d657 (patch)
tree49bf2a8e9f3bb8bd718006e158e8a3c548004cd6 /src/backend/access/spgist/spgdoinsert.c
parentfb47544d0ca18312bf0b9e53e335217db5c41a08 (diff)
downloadpostgresql-8da9a226369e9ceec7cef1ab7a16cdc0adb4d657.tar.gz
postgresql-8da9a226369e9ceec7cef1ab7a16cdc0adb4d657.zip
Split index xlog headers from other private index headers.
The xlog-specific headers need to be included in both frontend code - specifically, pg_waldump - and the backend, but the remainder of the private headers for each index are only needed by the backend. By splitting the xlog stuff out into separate headers, pg_waldump pulls in fewer backend headers, which is a good thing. Patch by me, reviewed by Michael Paquier and Andres Freund, per a complaint from Dilip Kumar. Discussion: http://postgr.es/m/CA+TgmoZ=F=GkxV0YEv-A8tb+AEGy_Qa7GSiJ8deBKFATnzfEug@mail.gmail.com
Diffstat (limited to 'src/backend/access/spgist/spgdoinsert.c')
-rw-r--r--src/backend/access/spgist/spgdoinsert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/access/spgist/spgdoinsert.c b/src/backend/access/spgist/spgdoinsert.c
index 748e568a627..90c65341397 100644
--- a/src/backend/access/spgist/spgdoinsert.c
+++ b/src/backend/access/spgist/spgdoinsert.c
@@ -17,6 +17,7 @@
#include "access/genam.h"
#include "access/spgist_private.h"
+#include "access/spgxlog.h"
#include "access/xloginsert.h"
#include "miscadmin.h"
#include "storage/bufmgr.h"