model-writtenrun 9806 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- David Steele proposed archiving timeline history files before WAL segments in #1 to reduce conflicting timeline choices during concurrent promotions, requested backpatching, and corrected GCC parenthesis warnings in #2.
- Michael Paquier questioned whether the change qualified as a backpatchable bug fix and requested IsTLHistoryFileName() in #3 and #5; David adopted that helper in #6 and reported testing with dummy archive-status files and real promotions.
- Michael confirmed the ordering logic and supplied #7, replacing nested checks with early exits, avoiding modification of directory-entry names, and cleaning up comments and formatting.
- Kyotaro Horiguchi reviewed that revision in #8, proposing a simpler Boolean condition and removal of the intermediate newxlog buffer; Michael accepted both in #9, and David endorsed the cleanup in #11.
- Michael recorded consensus for backpatching in #12 and committed b981df4cc0 from #7 with Kyotaro’s local simplifications, announcing completion in #13.
- Backpatching stopped at PostgreSQL 9.5 because 9.4 lacked IsTLHistoryFileName(), as explained in #13; David accepted that limit in #14, leaving the work complete with no further revision requested.