model-writtenrun 1419 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Sami Imseih reported a pg_stat_statements normalization crash caused by mixed Var/non-Var IN lists and proposed disabling squashing for them in #1, rejecting a normalization-time workaround because it would incorrectly squash variables.
- Michael Paquier agreed that a backpatched fix was needed in #2, while zengman reproduced the crash on PostgreSQL 19 development, found PostgreSQL 16 unaffected, and identified a comment typo in #3; Sami revised the comment in #4 without changing the implementation.
- Dmitry Dolgov supported disabling squashing but explored correcting array end locations and adding defensive overlap checks in #5; Sami questioned how end-location adjustment could handle interleaved Vars and constants in #6.
- Dmitry explained that arbitrary expression end locations were unavailable and that tracking Vars was the practical solution in #7, while Sami supplied an existing regression example with overlapping locations in #8; neither end-location reconstruction nor the broader defensive check entered the committed patch.
- Michael supported the proposed fix after interpreting the location-tracking discussion in #9, and Dmitry explicitly endorsed it in #10, leaving end-location reconstruction as a hypothetical future improvement.
- Michael committed #4 as 5d95219faa with a revised comment and commit message plus an additional ANY-array test, then confirmed application through PostgreSQL 18 in #11, closing the thread with the crash fix landed.