Re: Issue with logical replication slot during switchover

From: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
To: shveta malik <shveta(dot)malik(at)gmail(dot)com>
Cc: Fabrice Chapuis <fabrice636861(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>
Subject: Re: Issue with logical replication slot during switchover
Date: 2025-10-28 13:03:00
Message-ID: CAFh8B=nWryz6aHfobaXXpEGjFoq0eLTyB05dP2G_ZFP6cXGxCg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
0001-Continue-slots-synchronization-after-switchover.patch text/x-patch 3.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2025-10-28 13:04:20 Re: Add wal_fpi_bytes_[un]compressed to pg_stat_wal
Previous Message BharatDB 2025-10-28 12:51:41 Re: Checkpointer write combining