Sep 2026

1 commit
Fix qual pushdown past grouping through simple CASE
2 Sep 2026Richard GuomasterunreleasedREL_19_STABLE19beta4REL_18_STABLE18.7
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #30 of 2 reviewers saw the final version

The commit retains the context-bound CaseTestExpr implementation and subselect tests from #3, adding a JsonConstructorExpr branch in src/backend/optimizer/util/clauses.c that clears case_var while walking coercion. It also adds ICU regression tests for JSON and array coercions, addressing #5 and #4, with the fix and push confirmed in #6.

  • Tender Wangsaw an earlier versiontrailerTender reviewed #3, endorsed the approach and requested ArrayCoerceExpr test coverage in #4, before the additional JSON coercion logic landed.
  • Ewan Youngsaw an earlier versiontrailerEwan built and tested #3 with ICU, endorsed its correctness and reported the JSON coercion missed pushdown in #5, prompting the subsequent logic change.

Credits across 1 commit

Author
Richard Guo1
Reviewer
Ewan Young1
Tender Wang1
Reported by
Tender Wang1
Committer
Richard Guo1