model-writtenrun 2908 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- David Rowley posted a fix after Andres Freund traced incorrect TPCH-Q02 results to intermediate hash values sharing ExprState->resvalue with other expression steps; the patch uses dedicated intermediate storage, and David reported correct results with JIT both enabled and disabled #1.
- Alena Rybakina found no apparent problem with the implementation but requested a regression test #2.
- David supplied a revised patch retaining the implementation and adding a multiple-key hash join with a subplan, checking both its execution plan and returned rows #3.
- David committed the revised patch with light formatting, test-comment, and commit-message edits as 9ca67658d1, crediting Alena's review.
- David confirmed that the patch had been pushed, closing the thread with the fix and regression coverage landed #4.