Re: Newly created replication slot may be invalidated by checkpoint - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Newly created replication slot may be invalidated by checkpoint
Date
Msg-id CAA4eK1+aAybMgf4VS1SMr8CtHDveG4gTyyviEmwpOyD1Cxs=7g@mail.gmail.com
Whole thread Raw
In response to RE: Newly created replication slot may be invalidated by checkpoint  ("Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>)
List pgsql-hackers
On Thu, Jan 8, 2026 at 10:25 AM Hayato Kuroda (Fujitsu)
<kuroda.hayato@fujitsu.com> wrote:
>
> > However, if required, we can
> > move LogStandbySnapshot() and XLogFlush() outside the loop similar to
> > 16 and above branches. OTOH, doing minimal changes in bank branches
> > and that too in 15 and 14 to fix this issue seems like a prudent
> > choice.
>
> Per my understanding, minimizing the code changes for backbracnhes is more
> important unless it is really needed.
>

Thanks. I pushed this last week.

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Andrew Jackson
Date:
Subject: Add ldapservice connection parameter
Next
From: Chao Li
Date:
Subject: Re: pg_upgrade: optimize replication slot caught-up check