summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorTom Lane2015-04-25 20:44:27 +0000
committerTom Lane2015-04-25 20:44:27 +0000
commit2e38198f605f39e96544c81a43f1984147e0890c (patch)
treee8977f501d69b25a4e9d19bc3ce1694e229065d8 /src/backend/access/transam/xlog.c
parentf221c44cda52c324ced27e3b1fbec3458a2683d4 (diff)
Prevent improper reordering of antijoins vs. outer joins.
An outer join appearing within the RHS of an antijoin can't commute with the antijoin, but somehow I missed teaching make_outerjoininfo() about that. In Teodor Sigaev's recent trouble report, this manifests as a "could not find RelOptInfo for given relids" error within eqjoinsel(); but I think silently wrong query results are possible too, if the planner misorders the joins and doesn't happen to trigger any internal consistency checks. It's broken as far back as we had antijoins, so back-patch to all supported branches.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions