pgsql: Update comment for ReplicationSlot.last_saved_restart_lsn

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Update comment for ReplicationSlot.last_saved_restart_lsn
Date: 2025-07-21 12:08:01
Message-ID: E1udpJJ-0001TD-1f@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Update comment for ReplicationSlot.last_saved_restart_lsn

Document that restart_lsn can go backwards and explain why this could happen.

Discussion: https://postgr.es/m/1d12d2-67235980-35-19a406a0%4063439497
Discussion: https://postgr.es/m/CAPpHfdvuyMrUg0Vs5jPfwLOo1M9B-GP5j_My9URnBX0B%3DnrHKw%40mail.gmail.com
Author: Hayato Kuroda <kuroda(dot)hayato(at)fujitsu(dot)com>
Co-authored-by: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Reviewed-by: Vignesh C <vignesh21(at)gmail(dot)com>
Reviewed-by: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Reviewed-by: Alexander Korotkov <aekorotkov(at)gmail(dot)com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0810fbb02dbe70b8a7a7bcc51580827b8bbddbdc

Modified Files
--------------
src/include/replication/slot.h | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Christoph Berg 2025-07-21 20:52:12 Re: pgsql: Introduce pg_shmem_allocations_numa view
Previous Message Álvaro Herrera 2025-07-21 09:35:54 pgsql: pg_dump: include comments on not-null constraints on domains, to