]> granicus.if.org Git - postgresql/commit
Tweak nodeBitmapAnd to stop evaluating sub-plan scans if it finds it's
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Aug 2005 22:47:20 +0000 (22:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Aug 2005 22:47:20 +0000 (22:47 +0000)
commit46a0eee3006b11a15b73426c8146ed5ab32e1d62
tree84e646e836446437c7fd310fd0aaf167b561e4dc
parent75e90bbf69efb3cee8d3af9c07d345dd9540a7cc
Tweak nodeBitmapAnd to stop evaluating sub-plan scans if it finds it's
got an empty bitmap after any step; the remaining subplans can no longer
affect the result.  Per a suggestion from Ilia Kantor.
src/backend/executor/nodeBitmapAnd.c
src/backend/nodes/tidbitmap.c
src/backend/optimizer/path/indxpath.c
src/include/nodes/tidbitmap.h