Tweak nodeBitmapAnd to stop evaluating sub-plan scans if it finds it's
authorTom Lane <[email protected]>
Sun, 28 Aug 2005 22:47:20 +0000 (22:47 +0000)
committerTom Lane <[email protected]>
Sun, 28 Aug 2005 22:47:20 +0000 (22:47 +0000)
commitae9a666708e6f47ad31c40e7a50eaa1d2b0ab840
tree9d166e9bf873517cbacfffefc775392da863589f
parent593a687df22caf023d433b7ec0676c0db4a022bd
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