model-writtenrun 3675 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andres Freund proposed LOG-level evidence that recovery used backup_label because its omission frequently caused corruption that existing logs could not diagnose, and suggested retaining historical evidence in pg_control as longer-term work #1.
- Laurenz Albe initially questioned backpatching new messages and suggested extending 'redo starts at', while David Steele supported a separate backpatchable message; Andres argued for logging before checkpoint reading so failures would still leave useful evidence #2 #4 #5.
- Andres posted the initial patch logging recovery startup from backup_label and restart of unfinished backup recovery, while identifying broader recovery-log ordering problems as future HEAD work #7.
- Michael Paquier and Laurenz questioned the restart wording, and David proposed 'starting/restarting backup recovery'; Andres then added a completion message after the control-file update and corrected the timeline format in the revised patch #8 #9 #10 #16.
- Robert Haas questioned how the messages would survive a proposed replacement of backup_label with pg_control recovery information, and David and Andres explained that equivalent logging would remain useful and could use the replacement metadata #12 #13 #14.
- An additional message for recovery using control-file information was discussed but left out over logging-volume concerns, while David endorsed the revised implementation and requested consistent 'backup recovery' wording without 'base backup' #16 #18 #20.
- After a two-month gap, David supplied the wording revision and renewed the request for backpatching; Michael reviewed it and proposed using XLogRecPtrIsInvalid() and including the backup end LSN in the completion message #22 #23.
- Michael committed David's revision of Andres's patch as 1d35f705e1, adding those two small edits and announcing the initial HEAD-only landing #24.
- David continued advocating backpatching, Michael Banck and Tom Lane supported it, and Michael Paquier accepted the consensus; adding an LSN to the checkpoint PANIC remained a separate proposed HEAD improvement #25 #26 #28 #31 #32.
- Michael backpatched the change to PostgreSQL 15 and 16, stopping before older branches because their backup-label API lacked timeline information; David also found divergent backup-completion paths in PostgreSQL 14 and accepted the existing backpatch scope, which Michael acknowledged at the thread's close #33 #34 #35.