model-writtenrun 4340 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported that gist_page_items() crashed on non-leaf GiST pages with included columns because it decoded tuples using a descriptor containing attributes absent from those pages #1.
- Alexander supplied a patch that distinguished leaf and non-leaf tuples and displayed included values, replacing BuildIndexValueDescription() because it handled only key columns and performed unnecessary permission checks #2.
- Michael Paquier requested shorter tests, NULL coverage, and an extensible index-definition API #3; Alexander revised the tests #4, and Michael supplied the flag-controlled API and cleanup while retaining the existing API for consistency across supported branches #5.
- Alexander then discovered that using operator-class input types could print garbage or incomplete values when the stored type differed, and revised the patch to use stored attribute types, revealing complete boxes instead of points #6.
- Michael added parentheses around key values and expanded tests to clarify the newly exposed storage representation #7; alternative quoting and bracket formats were discussed #8, but Alexander endorsed the attachment with wording corrections #9, and Michael initially agreed to commit it #10.
- After finding parentheses confusing for included composite values, Michael committed e7bff46e50 from #7 with record-style quoting and escaping, reduced tests with alignment-sensitive values masked, and updated documentation; his final message confirmed application and backpatching through PostgreSQL 14 #11.