Marginal improvement in sublink planning: allow unknownEqFalse optimization
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Aug 2008 19:58:24 +0000 (19:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Aug 2008 19:58:24 +0000 (19:58 +0000)
commit96834e82b986cf40584e3ac9d52e9fbdf5a7104e
tree02fc2113689f4dc8cc2541c8c65c9837753e8fc9
parent64237523d6613b2a66d5ed34f69bdd4124c056cb
Marginal improvement in sublink planning: allow unknownEqFalse optimization
to be used for SubLinks that are underneath a top-level OR clause.  Just as at
the very top level of WHERE, it's not necessary to be accurate about whether
the sublink returns FALSE or NULL, because either result has the same impact
on whether the WHERE will succeed.
src/backend/optimizer/plan/subselect.c