model-writtenrun 8331 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Amit Kapila proposed backpatching vacuum error context to help locate corruption and attached a PostgreSQL 12 adaptation that passed check-world in #1; Alvaro Herrera supported backpatching while explicitly saying he had not reviewed the patch in #3.
- Andres Freund questioned both the change's readiness for older releases and copying all of LVRelStats to preserve a few fields in #4 and #6, while Justin Pryzby suggested waiting for production exposure after PostgreSQL 13 in #5.
- Tom Lane questioned whether restoring indname could use freed memory in #7; after Justin explained its lifetime in #8, Tom proposed asserting that the saved value is NULL and explicitly restoring NULL in #9.
- Justin supplied cleanup patches in #10 and revised them in #14 after Amit's caller-placement feedback in #11 and the narrower state-saving proposals from Andres and Tom in #12 and #13, retaining the broader context-struct refactoring only as an option.
- Andres supplied a different implementation in #15, using a small saved-state struct and separate restoration function to centralize which fields are preserved, while leaving index-name handling provisional.
- Amit combined Andres's save/restore design with Justin's implementation of Tom's index-name proposal in #16, adding assertions and NULL resets; he selected this narrower design over the broader context-struct refactoring and reported initial testing.
- Justin identified comment and variable-name inconsistencies in #17, and Amit addressed them while combining the two patches into the final submission in #18.
- Amit committed #18 unchanged as a69e041d0c, with the cleanup backpatched through PostgreSQL 13, and announced the push while reopening the older-release backpatch question in #20.
- The original PostgreSQL 12 feature backpatch remained uncommitted: in #21, Amit deferred it until PostgreSQL 13 was released and experience provided greater confidence in the functionality.