model-writtenrun 199 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Shihao Zhong reported that eager aggregation merged bpchar values with different trailing spaces, producing wrong join counts, and demonstrated related index-only-scan errors; #1 proposed removing equalimage support, adding an eager-aggregation test, and disabling support at runtime on older branches.
- Tom Lane supported removing the catalog support entries for version 19 in #2, and Shihao confirmed that the proposed patches applied there in #3; the proposed fix also sacrificed deduplication for fixed-length char columns.
- Tom's broader audit found that oidvector equality ignores array lower bounds, and #4 proposed rescinding its equalimage support only on newer branches to avoid alarming users with amcheck failures on existing system indexes; he also opposed extending the old type-specific amcheck hint.
- Peter Geoghegan accepted that policy in #5 and posted revised versions of Shihao's fixes in #6, retaining existing catalog contents on released branches and leaving their oidvector support alone; Tom approved the revised patches in #7.
- Peter landed the deduplication fix as 4697138049 from #6; its supplied diff implements the runtime bpchar checks, updates documentation, removes the amcheck hint, and removes an obsolete bpchar deduplication test, with no intervening revision reported.
- The eager-aggregation regression test proposed in #1 is absent from the supplied diff of 4697138049, and the available discussion does not explain its disposition.
- After pushing, Peter reported cross-version upgrade failures because amcheck rejected old bpchar indexes in #8; Tom then reproduced failures upgrading from version 13 in #10, showing that updating supported source branches would not resolve every case.
- Peter suggested backpatching to version 13 in #11, but Tom questioned whether that would represent real upgrades in #12 and then proposed dropping incompatible test objects through AdjustUpgrade.pm in #13; Peter adopted that approach in #14.
- Peter supplied the nine-index cleanup patch in #16, noting his limited ability to validate cross-version upgrades; Tom undertook testing in #17, while Shihao endorsed the approach and offered testing in #18.
- Tom committed the adjusted cleanup as 415cd3bfb4 from #16, with explicit source-version and database-presence checks and reordered index names, then reported successful testing and the push in #19.
- The thread ends with both fixes landed and Shihao reporting in #21 that a version-13 dump upgraded to master failed amcheck without the cleanup but passed with it; no further patch revision was pending.