]> granicus.if.org Git - postgresql/commit
Report catalog_xmin separately in hot_standby_feedback
authorSimon Riggs <simon@2ndQuadrant.com>
Sat, 25 Mar 2017 14:07:27 +0000 (14:07 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Sat, 25 Mar 2017 14:07:27 +0000 (14:07 +0000)
commit5737c12df0581b3298e3e9586bdef170811ce176
treeaa4396ffd81405168d45526cbe2d8cc383c12539
parent4dd3abe99f5062dbb874fbc8f6bd306b08f702e8
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
doc/src/sgml/protocol.sgml
src/backend/replication/walreceiver.c
src/backend/replication/walsender.c
src/backend/storage/ipc/procarray.c
src/include/storage/proc.h
src/include/storage/procarray.h
src/test/recovery/t/010_logical_decoding_timelines.pl