From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Report catalog_xmin separately in hot_standby_feedback |
Date: | 2017-03-25 14:08:21 |
Message-ID: | E1crmMf-0001qn-Kn@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2017-03-25 15:11:57 | pgsql: Add cleanup to new test cases |
Previous Message | Peter Eisentraut | 2017-03-25 04:52:32 | pgsql: Add missing break |