May 2026

2 commits
Fix HAVING-to-WHERE pushdown for simple-CASE form
8 May 2026Richard Guomaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
LLM analysis, 100% suremodified before commitlight changesfrom patchset #71 of 1 reviewer saw the final version

The commit retains #7's CASE handling in src/backend/optimizer/plan/planner.c, replacing repeated stack pops with list_truncate(), simplifying iteration, and expanding comments. Regression tests are reworded and relocated, with a result check added for nested CASE; #8 confirms the committer's adjustments.

  • Richard Guosaw the final versiontrailerRichard explained the CASE failure and reported refining stack restoration and comments in #8, and as committer reviewed the final version.
Fix HAVING-to-WHERE pushdown with nondeterministic collations
1 May 2026Richard Guomaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.4
LLM analysis, 100% surelanded as postedfrom patchset #50 of 1 reviewer saw the final version

The complete four-file diff exactly matches #5, including the ancestor-collation walker, RowCompareExpr handling, ICU tests, and src/tools/pgindent/typedefs.list entry. Richard confirmed committing and backpatching it in #6.

  • wenhui qiusaw an earlier versiontrailerIn #2, wenhui qiu questioned repeated subtree scans and suggested an aggregate test on #1; the subsequent walker rewrite and RowCompareExpr support in #5 went beyond light changes.

Credits across 2 commits

Author
Richard Guo1
SATYANARAYANA NARLAPURAM1
Reviewer
Richard Guo1
wenhui qiu1
Committer
Richard Guo2