model-writtenrun 9873 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Konstantin Knizhnik reported a customer query whose index-only scan was about 25% slower than an ordinary index scan #1.
- He traced the slowdown to repeated index_getattr calls in StoreIndexTuple, which produce quadratic work when variable-width attributes prevent caching column offsets #1.
- His patch made index_deform_tuple extract attributes in one pass using the heap_deform_tuple approach and changed StoreIndexTuple to call it #1.
- Konstantin reported benchmark times of 1.995 for an ordinary index scan, 2.686 for the original index-only scan, and 2.005 for the patched index-only scan #1.
- Tom Lane committed the complete patch with light cosmetic changes as 80b9e9c466 and announced the push in the final message, leaving no outstanding patch revisions in this thread #2.