model-writtenrun 2834 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tender Wang reported that BufferGetLSNAtomic() could pass a negative local-buffer ID to the shared-buffer descriptor lookup and supplied a patch delaying that lookup until after the fast path in #1.
- Xuneng Zhou considered the fix reasonable but requested more explanation of the invalid array-index case in #2; Tender judged the code sufficiently clear and submitted no revision in #3.
- Richard Guo approved the patch in #4, explaining that the invalid descriptor was never used for local buffers, so the issue had caused no malfunction but was worth fixing preventively.
- Richard initially proposed foregoing backpatches in #5, but Michael Paquier argued for consistency across branches and avoiding propagation of the unsafe pattern in #6, leading Richard to agree to backpatch through PostgreSQL 13 in #7.
- Richard landed #1 as 71d02dc478 with only a local-variable declaration reordered, confirmed completion in #8, and received Tender's thanks in #9, leaving no outstanding work in the thread.