model-writtenrun 5270 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Robert Haas reported that XLogBeginRead accepted a page-boundary position but subsequent reading failed an assertion, and preferred supporting the documented behavior so a new reader could resume from an earlier reader's EndRecPtr #1; he supplied a debugging-only pg_waldump option to reproduce the failure #2.
- Dilip Kumar supplied a separate fix relaxing the XLogDecodeNextRecord assertion to accept page boundaries, explaining that the existing code already handled skipping the page header #3.
- Dilip Kumar initially worried that the fix also needed to reject pages beginning with continuation records #4, then identified existing XLP_FIRST_IS_CONTRECORD error handling and concluded that his original patch was sufficient #5.
- Robert Haas agreed with that assessment and proposed committing the fix with comment wording changes, without backpatching because no existing users were known to be affected #6.
- Robert Haas committed Dilip Kumar's assertion fix with only comment rewording as ec97db399f and confirmed completion #7; the debugging-only pg_waldump changes were not included, and the thread ended with the production fix landed without backports.