From: Simon Riggs <simon@2ndQuadrant.com>
To: pgsql-committers@postgresql.org
Subject: pgsql: Report catalog_xmin separately in hot_standby_feedback
Date: Sat, 25 Mar 2017 14:08:21 +0000
Message-ID: <E1crmMf-0001qn-Kn@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Report catalog_xmin separately in hot_standby_feedback
If the upstream walsender is using a physical replication slot, store the
catalog_xmin in the slot's catalog_xmin field. If the upstream doesn't use a
slot and has only a PGPROC entry behaviour doesn't change, as we store the
combined xmin and catalog_xmin in the PGPROC entry.
Author: Craig Ringer
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/5737c12df0581b3298e3e9586bdef170811ce176
Modified Files
--------------
doc/src/sgml/protocol.sgml | 33 ++++++-
src/backend/replication/walreceiver.c | 43 ++++++--
src/backend/replication/walsender.c | 108 +++++++++++++++------
src/backend/storage/ipc/procarray.c | 12 ++-
src/include/storage/proc.h | 5 +
src/include/storage/procarray.h | 11 +++
.../recovery/t/010_logical_decoding_timelines.pl | 38 +++++++-
7 files changed, 199 insertions(+), 51 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: simon@2ndQuadrant.com
Subject: Re: pgsql: Report catalog_xmin separately in hot_standby_feedback
In-Reply-To: <E1crmMf-0001qn-Kn@gemulon.postgresql.org>
References: <E1crmMf-0001qn-Kn@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