Re: Issue with logical replication slot during switchover
Alexander Kukushkin <cyberdemn@gmail.com>
From: Alexander Kukushkin <cyberdemn@gmail.com>
To: shveta malik <shveta.malik@gmail.com>
Cc: Fabrice Chapuis <fabrice636861@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Shlok Kyal <shlok.kyal.oss@gmail.com>
Date: 2025-10-28T13:03:00Z
Lists: pgsql-hackers
Attachments
- 0001-Continue-slots-synchronization-after-switchover.patch (text/x-patch) patch 0001
Hi all, I don't think we really need to have allow_overwrite. It is not possible to create logical slots on standby with failover=true, therefore we can safely rely on failover being true to understand that at some point this node was a primary and that this slot is supposed to be synced. Please see the patch attached. Regards, -- Alexander Kukushkin