Re: Issue with logical replication slot during switchover

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
Cc: Fabrice Chapuis <fabrice636861(at)gmail(dot)com>, shveta malik <shveta(dot)malik(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-11-13 11:30:51
Message-ID: CAA4eK1+XFL0dC0u2+OWUvKLU51Czd=fwFevG9i_ALxBijsKy3w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Nov 13, 2025 at 2:37 PM Alexander Kukushkin <cyberdemn(at)gmail(dot)com> wrote:
>
> Hi Amit,
>
> On Thu, 13 Nov 2025 at 09:42, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>>
>>
>> Say, the only operations that happened are slot-drop-recreate and or
>> some operations on unlogged tables. Why then pg_rewind is required?
>
>
> Clean shut down always writes checkpoint record to WAL and updates pg_control.
>

But the system can die/crash before shutdown.

--
With Regards,
Amit Kapila.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2025-11-13 11:35:48 Re: Trying out <stdatomic.h>
Previous Message Chao Li 2025-11-13 10:17:37 Re: Suggestion to add --continue-client-on-abort option to pgbench