Use ProcNumber rather than pid in ReplicationSlot This helps the next commit.
Reviewed-by: Chao Li <[email protected]> Discussion: https://www.postgresql.org/message-id/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/ddc3250208bd5980a25b0421d607bae202fef06c Modified Files -------------- src/backend/replication/logical/slotsync.c | 2 +- src/backend/replication/slot.c | 63 +++++++++++++++++------------- src/backend/replication/slotfuncs.c | 13 +++--- src/include/replication/slot.h | 7 +++- 4 files changed, 49 insertions(+), 36 deletions(-)
