]> granicus.if.org Git - postgresql/commit
Split index xlog headers from other private index headers.
authorRobert Haas <rhaas@postgresql.org>
Tue, 14 Feb 2017 20:37:59 +0000 (15:37 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 14 Feb 2017 20:37:59 +0000 (15:37 -0500)
commit8da9a226369e9ceec7cef1ab7a16cdc0adb4d657
tree49bf2a8e9f3bb8bd718006e158e8a3c548004cd6
parentfb47544d0ca18312bf0b9e53e335217db5c41a08
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
35 files changed:
src/backend/access/gin/ginbtree.c
src/backend/access/gin/gindatapage.c
src/backend/access/gin/ginentrypage.c
src/backend/access/gin/ginfast.c
src/backend/access/gin/gininsert.c
src/backend/access/gin/ginutil.c
src/backend/access/gin/ginvacuum.c
src/backend/access/gin/ginxlog.c
src/backend/access/gist/gistbuild.c
src/backend/access/gist/gistxlog.c
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtpage.c
src/backend/access/nbtree/nbtxlog.c
src/backend/access/rmgrdesc/gindesc.c
src/backend/access/rmgrdesc/gistdesc.c
src/backend/access/rmgrdesc/nbtdesc.c
src/backend/access/rmgrdesc/spgdesc.c
src/backend/access/spgist/spgdoinsert.c
src/backend/access/spgist/spginsert.c
src/backend/access/spgist/spgvacuum.c
src/backend/access/spgist/spgxlog.c
src/backend/access/transam/rmgr.c
src/bin/pg_waldump/rmgrdesc.c
src/include/access/gin.h
src/include/access/gin_private.h
src/include/access/ginblock.h [new file with mode: 0644]
src/include/access/ginxlog.h [new file with mode: 0644]
src/include/access/gist_private.h
src/include/access/gistxlog.h [new file with mode: 0644]
src/include/access/hash_xlog.h
src/include/access/nbtree.h
src/include/access/nbtxlog.h [new file with mode: 0644]
src/include/access/spgist.h
src/include/access/spgist_private.h
src/include/access/spgxlog.h [new file with mode: 0644]