]> granicus.if.org Git - postgresql/commit
Fix adjust_semi_join to be more cautious about clauseless joins.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Nov 2010 22:45:50 +0000 (18:45 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Nov 2010 22:45:50 +0000 (18:45 -0400)
commit55c3a7c0a5b335f03bf1bd26f1b7542d5305d256
tree31ca9450e3353b701dd4a22e317b2c7b2383b9b5
parent5ab15b521f42833875a53b885ff7ab8cf0a655a3
Fix adjust_semi_join to be more cautious about clauseless joins.

It was reporting that these were fully indexed (hence cheap), when of
course they're the exact opposite of that.  I'm not certain if the case
would arise in practice, since a clauseless semijoin is hard to produce
in SQL, but if it did happen we'd make some dumb decisions.
src/backend/optimizer/path/costsize.c