model-writtenrun 4591 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- shihao zhong reported incorrect Memoize results for anti joins in PostgreSQL 19 and LEFT JOINs since PostgreSQL 14, proposing cache-key relabeling with the join clause's input collation and an optional regression test in #1; he preferred this to forcing binary mode because that would also change otherwise correct plans.
- Manu confirmed the fix across PostgreSQL 14 through master and multiple collation and expression cases in #2, but found that mechanically applying it on PostgreSQL 14–16 could place canonicalization after the cache-key append, leaving the bug unfixed despite passing regression tests.
- At shihao zhong's request in #3, Manu supplied manually positioned backpatches in #4 and reported that each reduced incorrect results from 39 of 52 stress cases to zero.
- Richard Guo argued in #5 that this was an older Memoize bug newly reachable through anti joins rather than a PostgreSQL 19 open item; shihao zhong agreed in #6, and Richard confirmed its reclassification under older bugs affecting stable branches in #7.
- David Rowley landed both the fix and regression test from #1 as 3527345406, with light comment and formatting changes and backpatches through PostgreSQL 14; his final announcement in #9 leaves no outstanding work identified in the thread.