model-writtenrun 159 - 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 could evaluate volatile join clauses once per group instead of once per joined row, changing both function-call counts and query results, in #1.
- The two-patch submission in #1 prevents grouped paths when pending join clauses contain volatile functions, preserves eager aggregation when volatile filters execute below it, and adds a sequence-based regression test.
- Manu reported successful differential testing across 23 placements in #2, confirming that the fix corrected affected cases while retaining eager aggregation where safe; SQLancer testing also ran clean.
- Richard Guo committed the submission as 27c844034f, retaining its guard with placement and comment edits, simplifying regression coverage to a random()-based EXPLAIN test, and backpatching to PostgreSQL 19.
- Richard Guo confirmed that he had reviewed and pushed the fix in #3, leaving no outstanding work stated in the thread.