Oct 2026

1 commit
Flatten join alias Vars before rechecking subquery pullup safety
6 Oct 2026Richard GuomasterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #10 of 1 reviewer saw the final version

Compared with #1, d4c15309e7 adds an rte->lateral guard around jointree-qual flattening in src/backend/optimizer/prep/prepjointree.c and revises explanatory comments. The helper implementation and regression additions in src/test/regress/sql/join.sql and src/test/regress/expected/join.out are unchanged.

  • Tatsuya Kawatasaw an earlier versiontrailerTatsuya tested #1 and reported successful results plus an unpatched wrong-result case in #2, but no review of the subsequent rte->lateral logic change is shown.

Credits across 1 commit

Author
Richard Guo1
Reviewer
Tatsuya Kawata1
Committer
Richard Guo1