Update comment for ReplicationSlot.last_saved_restart_lsn
authorAlexander Korotkov <akorotkov@postgresql.org>
Mon, 21 Jul 2025 12:07:34 +0000 (15:07 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Mon, 21 Jul 2025 12:07:54 +0000 (15:07 +0300)
commit0810fbb02dbe70b8a7a7bcc51580827b8bbddbdc
tree099587460c46b31df00184045dcbdae0c1305bf4
parentda71717f0a7cf905a6a31ffd34552554922a0374
Update comment for ReplicationSlot.last_saved_restart_lsn

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

Discussion: http://postgr.es/m/1d12d2-67235980-35-19a406a0%4063439497
Discussion: http://postgr.es/m/CAPpHfdvuyMrUg0Vs5jPfwLOo1M9B-GP5j_My9URnBX0B%3DnrHKw%40mail.gmail.com
Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Co-authored-by: Amit Kapila <amit.kapila16@gmail.com>
Reviewed-by: Vignesh C <vignesh21@gmail.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Reviewed-by: Alexander Korotkov <aekorotkov@gmail.com>
src/include/replication/slot.h