Attached is the v49 patch set: - Fixed the bug reported in [1]. - Addressed comments in [2] and [3].
I've split the patch into two, implementing the suggested idea in comment #5 of [2] separately in 001: Patch-001: Adds additional error reports (for all invalidation types) in ReplicationSlotAcquire() for invalid slots when error_if_invalid = true. Patch-002: The original patch with comments addressed. ~~~~ [1] https://www.postgresql.org/message-id/CALDaNm2mwkVFLfe8pLcU1W5Oy1vRr1Wzp53XGV08kr4Z2%3DSJpA%40mail.gmail.com [2] https://www.postgresql.org/message-id/CAHut%2BPt6s-qNPdxH5%3D-fr2QKLEv0h16sQ8EvLiGJ-SdQNS6pbw%40mail.gmail.com [3] https://www.postgresql.org/message-id/CALDaNm2VQW_gpOJ-QWkEA_h18DN31ELEz2_7QmwWCAg9%3DZew4A%40mail.gmail.com -- Thanks, Nisha
v49-0001-Add-error-handling-while-acquiring-a-replication.patch
Description: Binary data
v49-0002-Introduce-inactive_timeout-based-replication-slo.patch
Description: Binary data