Oct 2026

1 commit
Fix eager aggregation below volatile join clauses
29 Oct 2026Richard GuomasterunreleasedREL_19_STABLE19rc2
LLM analysis, 100% suremodified before commitlight changesfrom patchset #12 of 2 reviewers saw the final version

27c844034f preserves the rel->joininfo volatility check from #1 in src/backend/optimizer/util/relnode.c, relocating it and expanding its comment. It replaces the sequence-based execution-count regression with a shorter random()-based EXPLAIN test using existing tables in src/test/regress/sql/eager_aggregate.sql and its expected output.

  • Manusaw the final versiontrailerManu tested #1 across 23 volatile-function placements, checked evaluation counts and results with eager aggregation enabled and disabled, and endorsed the fix in #2; only light changes followed.
  • Richard Guosaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
shihao zhong1
Reviewer
Manu1
Richard Guocommitter1
Committer
Richard Guo1