model-writtenrun 626 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Geoghegan reported that GiST index-only scans could misread tuple alignment, affecting all stable releases, after discovering the problem while working on table AM changes for index prefetching; his initial fix uses the index AM's tuple descriptor and consolidates tuple handling in StoreIndexTuple #1.
- Peter refined the regression test to use inet and numrange columns, clarified the alignment conditions in comments and the commit message, and confirmed that the bug could cause a SIGSEGV without changing the fix's implementation #2.
- Tomas Vondra reviewed the revised patch, considered it correct, supported the StoreIndexTuple refactoring, and requested clearer, less opclass-specific comments #3.
- Peter committed the revised patch as e4ad22eb02, preserving its logic while simplifying comments, revising the commit explanation, and explicitly specifying inet_ops in the regression test.
- Peter announced that the fix had landed and been backpatched throughout the supported branches, explained how he incorporated Tomas's comment feedback, and left no outstanding work in the thread #4.