Aug 2026

5 commits
Collect quals for outer-join reduction on demand
21 Aug 2026Richard Guomasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #11

The complete diff matches #11, including the jtnode state replacement in src/backend/optimizer/prep/prepjointree.c and the exported find_safe_quals() implementation and declaration in clauses.c and clauses.h.

Relax strictness detection for row-format IS NOT NULL tests
19 Aug 2026Richard Guomasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #81 of 1 reviewer saw the final version

The complete diff matches the fourth patch in #8, removing the argisrow restriction from both strictness walkers in src/backend/optimizer/util/clauses.c and adding the same regression tests.

  • wenhui qiusaw the final versiontrailerExplicitly said the third and fourth patches in #6 looked good in #7, and this fourth patch subsequently changed only through rebasing.
Reduce outer joins to anti joins for whole-row IS NULL tests
19 Aug 2026Richard Guomasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #81 of 1 reviewer saw the final version

The complete diff matches the third patch in #8, including whole-row forced-null recognition in clauses.c, per-column proofs in prepjointree.c, and the associated regression tests.

  • wenhui qiusaw the final versiontrailerExplicitly endorsed this patch in #7; the subsequent #8 retained its semantics with rebase adaptations and an equivalent loop early exit.
Reduce FULL JOIN to ANTI JOIN
19 Aug 2026Richard Guomasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #81 of 1 reviewer saw the final version

The complete diff matches the second patch in #8, including the shared forced_null_var_is_nonnullable() helper, FULL-to-ANTI conversion, input switching, and regression tests.

  • wenhui qiusaw the final versiontrailerReviewed the shared safe-qual propagation and proof-storage design of #1 in #4, after which this FULL-join patch received only rebase, explanatory, and test changes.
Reduce LEFT JOIN to ANTI JOIN using quals within the RHS subtree
19 Aug 2026Richard Guomasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #81 of 1 reviewer saw the final version

The complete diff matches the first patch in #8, collecting safe_quals in reduce_outer_joins_pass1() and using RHS subtree quals for LEFT-to-ANTI reduction, with identical tests.

  • wenhui qiusaw the final versiontrailerValidated the LEFT-join proof and propagation rules and suggested storing derived nonnullable Vars in #4, with only rebase and comment changes following for this patch.

Credits across 5 commits

Author
Richard Guo5
Reviewer
wenhui qiu4
Committer
Richard Guo5