Jul 2026

1 commit
Fix planner's nullability/strictness logic for ScalarArrayOpExpr.
28 Jul 2026Tom LanemasterunreleasedREL_19_STABLE19beta3REL_18_STABLE18.6REL_17_STABLE17.11REL_16_STABLE16.15REL_15_STABLE15.19REL_14_STABLE14.24Also in: [PATCH] SAOP nullability analysis below NOT/BooleanTest (part of a posted patchset)
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #11 of 1 reviewer saw the final version

277122036c combines the is_strict_saop(expr, false) restoration from #1 with the two top_level substitutions in find_nonnullable_rels_walker() and find_nonnullable_vars_walker() attributed to thread #253211. This thread's contribution in src/backend/optimizer/util/clauses.c landed with an else-if restructuring to avoid redundant operator checks, while its regression tests were omitted; the other thread's attribution covers the complementary nullability fixes.

  • Tom Lanesaw the final versiontrailerTom Lane endorsed the code and questioned the tests in #2, then committed the revised implementation and explained the redundant-check correction in #3.

Credits across 1 commit

Author
Ayush Tiwari1
Reviewer
Tom Lane1
Committer
Tom Lane1