Update comment for ReplicationSlot.last_saved_restart_lsn
Alexander Korotkov <akorotkov@postgresql.org>
Author:
Alexander Korotkov <akorotkov@postgresql.org>
Date: 2025-07-21T12:07:54Z
Releases:
19 (unreleased)
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.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>
Files
| Path | Change | +/− |
|---|---|---|
| src/include/replication/slot.h | modified | +19 −0 |
Discussion
- Document slot's restart_lsn can go backward 5 messages · 2025-07-18 → 2025-07-21
- Slot's restart_lsn may point to removed WAL segment after hard restart unexpectedly 85 messages · 2024-10-31 → 2025-07-18