Re: Issue with logical replication slot during switchover

From: Fabrice Chapuis <fabrice636861(at)gmail(dot)com>
To: shveta malik <shveta(dot)malik(at)gmail(dot)com>
Cc: 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-15 09:58:57
Message-ID: CAA5-nLDXU3zVAKmeE5TYF0nyWjUDrxzK_2w5hmy0mgwqsEspRw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Here is the v6 of the patch that I'll put in the current CF.

Regards,

Fabrice

On Tue, Oct 14, 2025 at 8:47 AM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:

> On Thu, Oct 9, 2025 at 6:26 PM Fabrice Chapuis <fabrice636861(at)gmail(dot)com>
> wrote:
> >
> >
> >
> > Hi,
> > Here is the patch V5, I change with your doc text proposition and the
> link.
>
> There is a trailing whitespace warning while applying the patch.
>
> Regarding:
> + on the standby (with synced=false) can be overwritten during
> logical
>
> Can we replace 'with synced=false' with:
>
> with <structfield>synced</structfield> field as <literal>false</literal>
>
> > At this stage, the patch can be submitted to the current commit fest for
> review?
> >
>
> Sure. Please register the patch to CF and continue developing it further.
>
> thanks
> Shveta
>

Attachment Content-Type Size
v6-0001-Add-allow_overwrite-option-to-logical-replication.patch application/octet-stream 12.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2025-10-15 10:33:15 Re: [PATCH] Remove make_temptable_name_n()
Previous Message shveta malik 2025-10-15 09:29:24 Re: Improve pg_sync_replication_slots() to wait for primary to advance