model-writtenrun 2706 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Paul Ramsey reported a development-branch recursive UNION crash with a standalone reproducer in #1, and Nathan Bossart bisected the regression to the expression-based hashing change in #2.
- David Rowley proposed passing input slot operations into BuildTupleHashTableExt in #4, preserving the ability to skip unnecessary deformation for virtual slots; Tom Lane agreed in #5 that improving the existing SetOp implementation should wait for its separate redesign.
- David committed #4 as d96d1d5152 with small comment and regression-query edits, announcing the push in #6.
- Tom found that equality comparisons still assumed minimal-tuple input while adapting his SetOp work, and supplied the additional inputOps correction in #7; David requested a reproducer on the existing code in #8.
- Tom supplied his separate two-input SetOp redesign in #9 as a reproducer, including the comparator correction and bypassing input-slot copying to expose the assertion failure.
- Richard Guo demonstrated the equality assertion on existing recursive UNION code with duplicate table rows in #10, and David confirmed it affected supported older branches in #11.
- David adapted the comparator fix to pass NULL for stable-branch compatibility in #11, then added a regression test and explanation in #12, proposing a separate development-only inputOps optimization.
- Tom approved the final correction in #13, explaining why production builds concealed the assertion-only bug, and #12 landed unchanged as 8f4ee96269 with backports through PostgreSQL 13.
- Richard endorsed the follow-up plan in #15, while Tom's final message #16 left open detecting matching fixed slot types in SetOp and RecursiveUnion, possibly through a shared helper.
- After the last message, 08cdb079d4 landed the standalone correction from #7 rebased over the backpatchable fix, crediting Tom Lane and David Rowley; the broader SetOp redesign shown in #9 was not included in these commits.