summaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_inet.c
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
commit5f3d1909c58aee1911d4b1e7f643bb8db09e8da6 (patch)
treeebca6af166d390dc7fb68485632a7088145fd90a /contrib/btree_gist/btree_inet.c
parent0a5570e3684adeb50c06e197e59dff9f829e67e6 (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 'contrib/btree_gist/btree_inet.c')
0 files changed, 0 insertions, 0 deletions