Re: Document slot's restart_lsn can go backward
Alexander Korotkov <aekorotkov@gmail.com>
From: Alexander Korotkov <aekorotkov@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-19T12:47:28Z
Lists: 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
Commits
-
Update comment for ReplicationSlot.last_saved_restart_lsn
- 0810fbb02dbe 19 (unreleased) landed