diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-02-14 15:37:59 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-02-14 15:37:59 -0500 |
commit | 8da9a226369e9ceec7cef1ab7a16cdc0adb4d657 (patch) | |
tree | 49bf2a8e9f3bb8bd718006e158e8a3c548004cd6 /src/backend/access/gist/gistbuild.c | |
parent | fb47544d0ca18312bf0b9e53e335217db5c41a08 (diff) | |
download | postgresql-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/gist/gistbuild.c')
-rw-r--r-- | src/backend/access/gist/gistbuild.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/access/gist/gistbuild.c b/src/backend/access/gist/gistbuild.c index b65926f97af..f1f08bb3d8b 100644 --- a/src/backend/access/gist/gistbuild.c +++ b/src/backend/access/gist/gistbuild.c @@ -18,6 +18,7 @@ #include "access/genam.h" #include "access/gist_private.h" +#include "access/gistxlog.h" #include "access/xloginsert.h" #include "catalog/index.h" #include "miscadmin.h" |