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

From Amit Kapila
Subject Re: Document slot's restart_lsn can go backward
Date
Msg-id CAA4eK1+YkDZvsjH9ANxP5eAxJkGsdwgD8dLbTfkX5T0kFGK_eQ@mail.gmail.com
Whole thread Raw
In response to Document slot's restart_lsn can go backward  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: Document slot's restart_lsn can go backward
List pgsql-hackers
On Fri, Jul 18, 2025 at 5:11 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?
>

I have tried to slightly improve the comments. You can include the
suggestions, if you and/or kuroda-san thinks that the suggestions make
the patch better.

--
With Regards,
Amit Kapila.

Attachment

pgsql-hackers by date:

Previous
From: Shubham Khanna
Date:
Subject: Add support for specifying tables in pg_createsubscriber.
Next
From: Japin Li
Date:
Subject: Re-archive the WAL on standby with archive_mode=always?