model-writtenrun 9971 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jian he proposed bounding index metadata access by the number of key attributes because rd_indcollation, rd_opfamily and rd_opcintype contain no entries for INCLUDE columns, identifying infer_collation_opclass_match() as incorrect in #1.
- The patch also changed Bloom, BRIN and GIN loops as a precaution against future INCLUDE support and documented why expression analysis already accesses only key columns in #1.
- Matthias van de Meent argued that BRIN could never support INCLUDE columns and questioned the speculative GIN change, accepted the rest, and noted that a separate patch addressed similar array sizing in relcache serialization in #2.
- Álvaro Herrera committed the unchanged planner fix and analysis comment from #1 as 99d5d6ec65, dropping all three access-method changes and backpatching through PostgreSQL 15.
- In the final message, Álvaro Herrera confirmed the push to all branches and explained that future INCLUDE support would require other access-method changes anyway, leaving the speculative changes intentionally excluded in #3.