]> 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:24 +0000 (21:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Sep 2005 21:17:24 +0000 (21:17 +0000)
commit7aef1bfd1fea435f4a039d3e6a7551739fa0e58d
tree8d8bc18ffac510e08bfedf3ee8ec536cf78193d9
parent92cdd00c0546237e057bab3940e0f814088b9131
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