Oct 2026

1 commit
Fix bogus outer-join commutation with lateral refs in PlaceHolderVars
17 Oct 2026Richard GuomasterunreleasedREL_19_STABLE19rc2REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Richard Guo's inline fix in #1 intersects strict_relids with clause_relids in src/backend/optimizer/plan/initsplan.c, exactly the logic committed in 7787aec8ab. The commit expands the explanatory comment and adds regression coverage in join.sql and join.out; no patchset was attached.

  • Tender Wangsaw the final versiontrailerIn #2, Tender Wang endorsed the inline fix and explained how excluding lateral-only references prevents incorrect commutation and inconsistent final joinrel sets.

Credits across 1 commit

Author
Richard Guo1
Reviewer
Tender Wang1
Committer
Richard Guo1