summaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-04-25 16:44:27 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-04-25 16:44:27 -0400
commit950f80dd54a49f052919b45ffddbcea3deefe6a2 (patch)
treeb22375a0b12b84d1a593d94406d6c3e27d0e8207 /src/tutorial
parent5eab0f1383f0864fe038c2ab13282c9c356f291d (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/tutorial')
0 files changed, 0 insertions, 0 deletions