model-writtenrun 4825 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- The thread began with Peter Geoghegan's announcement of 79d4bf4eff, which deferred transaction-status checks until freezing actually executes to avoid repeated pg_xact lookups when VACUUM decides against freezing #1.
- Andres Freund found that the change also replaced commit checks with abort checks, which incorrectly reject transactions left in progress in pg_xact after a crash, and questioned an accompanying MarkBufferDirty() reorder #2; he explained that recovery does not explicitly mark all such transactions aborted #5.
- Peter restored checks that xmax did not commit in eb5ad4ff05, correcting both ordinary and multixact freezing checks, and announced that the documentation follow-up remained to be done #7.
- Andres proposed connecting the TransactionIdDidAbort() documentation to the visibility-checking protocol #8 #10, while Peter favored a comment directly above the function and noted that other files already referenced heapam_visibility.c #11.
- Robert Haas supported clearer documentation and raised concerns about self-committing freezing changes #12; the ensuing discussion emphasized keeping code movement separate from behavioral changes and obtaining reviews, with Amit Kapila encouraging Peter to continue his VACUUM work #14 #16.
- Peter submitted a documentation patch explaining crash-aborted transactions and the use of elimination to establish abort status #18; Andres reviewed it and requested a cross-reference, less absolute wording, and guidance to check TransactionIdIsInProgress() before TransactionIdDidCommit() #19.
- Peter asked whether the transam README and amcheck also needed updates #20; Andres considered the README addition useful but awkward to place and questioned the need for an amcheck reference #21, so Peter left those extensions aside and submitted the revised comments #22.
- Andres endorsed the revised patch with one wording deletion #23, and Peter applied that final edit in af3855cb77, confirming at the end of the thread that the documentation follow-up had landed #24.