From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Split index xlog headers from other private index headers.
Date: Tue, 14 Feb 2017 20:47:49 +0000
Message-ID: <E1cdk0r-000683-2E@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
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
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/8da9a226369e9ceec7cef1ab7a16cdc0adb4d657
Modified Files
--------------
src/backend/access/gin/ginbtree.c | 1 +
src/backend/access/gin/gindatapage.c | 1 +
src/backend/access/gin/ginentrypage.c | 1 +
src/backend/access/gin/ginfast.c | 1 +
src/backend/access/gin/gininsert.c | 1 +
src/backend/access/gin/ginutil.c | 1 +
src/backend/access/gin/ginvacuum.c | 1 +
src/backend/access/gin/ginxlog.c | 1 +
src/backend/access/gist/gistbuild.c | 1 +
src/backend/access/gist/gistxlog.c | 1 +
src/backend/access/nbtree/nbtinsert.c | 1 +
src/backend/access/nbtree/nbtpage.c | 1 +
src/backend/access/nbtree/nbtxlog.c | 1 +
src/backend/access/rmgrdesc/gindesc.c | 2 +-
src/backend/access/rmgrdesc/gistdesc.c | 2 +-
src/backend/access/rmgrdesc/nbtdesc.c | 2 +-
src/backend/access/rmgrdesc/spgdesc.c | 2 +-
src/backend/access/spgist/spgdoinsert.c | 1 +
src/backend/access/spgist/spginsert.c | 1 +
src/backend/access/spgist/spgvacuum.c | 1 +
src/backend/access/spgist/spgxlog.c | 1 +
src/backend/access/transam/rmgr.c | 8 +-
src/bin/pg_waldump/rmgrdesc.c | 8 +-
src/include/access/gin.h | 8 -
src/include/access/gin_private.h | 509 +-------------------------------
src/include/access/ginblock.h | 329 +++++++++++++++++++++
src/include/access/ginxlog.h | 217 ++++++++++++++
src/include/access/gist_private.h | 55 +---
src/include/access/gistxlog.h | 69 +++++
src/include/access/hash_xlog.h | 2 +-
src/include/access/nbtree.h | 234 ---------------
src/include/access/nbtxlog.h | 255 ++++++++++++++++
src/include/access/spgist.h | 8 -
src/include/access/spgist_private.h | 230 ---------------
src/include/access/spgxlog.h | 257 ++++++++++++++++
35 files changed, 1159 insertions(+), 1055 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Split index xlog headers from other private index headers.
In-Reply-To: <E1cdk0r-000683-2E@gemulon.postgresql.org>
References: <E1cdk0r-000683-2E@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox