model-writtenrun 4090 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported a Valgrind-detected invalid read in gtsvector_picksplit(), tracing it to GETSIGN incorrectly adding a header offset to an already extracted signature pointer #1.
- Alexander supplied a smaller reproducer and two fixes: remove the incorrect pointer adjustments and replace the misleading ALLISTRUE output of “0 true bits, 0 false bits” with “all true bits” #2.
- Alexander added a pageinspect regression test covering both fixes #3, but Tom Lane judged its runtime cost unacceptable and explained that the pointer error would normally produce poor splits rather than wrong query results #4; Alexander agreed to omit the test #5.
- Michael Paquier committed the unchanged picksplit portion of #3 as ae10dbb0c5 and announced backpatching through PostgreSQL 11, while leaving out the expensive tests #6.
- Michael requested removal of a redundant ISALLTRUE conditional in the remaining output fix and recommended preserving stable-branch output #6; Alexander supplied the revised remainder and agreed to keep it development-only #7.
- The revised output fix from #7 landed unchanged as aa0d350456, and Michael declared the item completely closed #8; both code fixes landed, while the proposed regression test was omitted.