Re: Document slot's restart_lsn can go backward - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: Document slot's restart_lsn can go backward
Date
Msg-id CAPpHfdtN-FdAwUxo4L63LZCoXDyhwAO-DaW-WzK0pknA8VeOqQ@mail.gmail.com
Whole thread Raw
In response to Document slot's restart_lsn can go backward  (Alexander Korotkov <aekorotkov@gmail.com>)
List pgsql-hackers
On Fri, Jul 18, 2025 at 2:40 PM Alexander Korotkov <aekorotkov@gmail.com> wrote:
> While working on the patch fixing the situation when slot's
> restart_lsn ends up pointing to a removed WAL segment [1], we
> discovered that sometimes slot's restart_lsn can go backward
> [2][3][4].  Hayato Kuroda proposed a patch [5], which improves
> comments by describing this behavior.  As proposed by Amit Kapila [6],
> I'm starting a new thread about this comments patch.
>
> Any feedback on this patch?

If nobody has additions/objections, I'll push this change.

------
Regards,
Alexander Korotkov
Supabase



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Improve pg_sync_replication_slots() to wait for primary to advance
Next
From: Thomas Munro
Date:
Subject: Re: index prefetching