]> granicus.if.org Git - postgresql/commit
Repair planning bug introduced in 7.4: outer-join ON clauses that referenced
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Sep 2005 21:17:02 +0000 (21:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Sep 2005 21:17:02 +0000 (21:17 +0000)
commit2e1254e7fa0b84e83d201d0ffc7146b63a4a4a49
treed30cf1a229af348131f29c4ca3ebaf0f711c4129
parent4ff203262b9973e0a9400cf0654c347134bcfb45
Repair planning bug introduced in 7.4: outer-join ON clauses that referenced
only the inner-side relation would be considered as potential equijoin clauses,
which is wrong because the condition doesn't necessarily hold above the point
of the outer join.  Per test case from Kevin Grittner (bug#1916).
src/backend/optimizer/plan/initsplan.c
src/backend/optimizer/plan/planmain.c
src/include/optimizer/planmain.h