aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-07-19 20:32:48 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-07-19 20:32:48 +0000
commita43b190e3c7185e42c7329358c2038cf6d86c5a4 (patch)
tree29cb27c2291619b772eaab4768598a2ab184db67 /src/tutorial/syscat.source
parent011eae60effb07af476255be754ee491ce37164d (diff)
downloadpostgresql-a43b190e3c7185e42c7329358c2038cf6d86c5a4.tar.gz
postgresql-a43b190e3c7185e42c7329358c2038cf6d86c5a4.zip
Fix a thinko in join_is_legal: when we decide we can implement a semijoin
by unique-ifying the RHS and then inner-joining to some other relation, that is not grounds for violating the RHS of some other outer join. Noticed while regression-testing new GEQO code, which will blindly follow any path that join_is_legal says is legal, and then complain later if that leads to a dead end. I'm not certain that this can result in any visible failure in 8.4: the mistake may always be masked by the fact that subsequent attempts to join the rest of the RHS of the other join will fail. But I'm not certain it can't, either, and it's definitely not operating as intended. So back-patch. The added regression test depends on the new no-failures-allowed logic that I'm about to commit in GEQO, so no point back-patching that.
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions