Report catalog_xmin separately in hot_standby_feedback
Simon Riggs <simon@2ndQuadrant.com>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/protocol.sgml | modified | +28 −5 |
| src/backend/replication/walreceiver.c | modified | +34 −9 |
| src/backend/replication/walsender.c | modified | +79 −29 |
| src/backend/storage/ipc/procarray.c | modified | +9 −3 |
| src/include/storage/procarray.h | modified | +11 −0 |
| src/include/storage/proc.h | modified | +5 −0 |
| src/test/recovery/t/010_logical_decoding_timelines.pl | modified | +33 −5 |