Jan 2026

1 commit
Fix unsafe pushdown of quals referencing grouping Vars
19 Jan 2026Richard Guomaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.2
LLM analysis, 100% surewritten from the discussion, no matching patch

Eric Ridge reported the regression in #1, and Tom Lane identified grouping Vars hiding set-returning expressions in #8. The commit updates check_output_expressions() in src/backend/optimizer/path/allpaths.c to expand grouping Vars before checking pushdown safety, with regression tests for set-returning and volatile expressions; no patch or review of the fix appears in this thread.

Credits across 1 commit

Author
Richard Guo1
Reported by
Eric Ridge1
Committer
Richard Guo1