Re: Issue with logical replication slot during switchover - Mailing list pgsql-hackers

From shveta malik
Subject Re: Issue with logical replication slot during switchover
Date
Msg-id CAJpy0uB09emnnZ=1k3Qtg-ZxThu73BhLqCLau7grAqLC2N8z9g@mail.gmail.com
Whole thread Raw
In response to Fwd: Issue with logical replication slot during switchover  (Fabrice Chapuis <fabrice636861@gmail.com>)
Responses Re: Issue with logical replication slot during switchover
Re: Issue with logical replication slot during switchover
List pgsql-hackers
On Tue, Sep 30, 2025 at 12:17 PM Fabrice Chapuis
<fabrice636861@gmail.com> wrote:
>
> Hi,
>
> Here the generated v2 of the Patch.
>

Thanks. I have refactored the code for synchronize_one_slot() as there
was some code-repetition. Please take it if you find it okay.

Also I felt that when we create a slot through slot-synchronization,
we should create it with allow_overwrite as false. And thus in the
attached patch, I have changed that part as well.

It is a top up patch. Attached it as txt, please rename before
applying atop your changes.  Attached the steps for your reference.

thanks
Shveta

Attachment

pgsql-hackers by date:

Previous
From: Stefanie Janine Stölting
Date:
Subject: Re: Problem with DEB packages
Next
From: shveta malik
Date:
Subject: Re: Issue with logical replication slot during switchover