]> granicus.if.org Git - postgresql/commit
When a bitmap indexscan is using a partial index, it is necessary to include
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 May 2006 18:57:37 +0000 (18:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 May 2006 18:57:37 +0000 (18:57 +0000)
commit59ca5ebf2cc1f4e8aade34b693e99c9185d74218
tree0184ba83e1c6e2a184b59dbfbf44057008141ebd
parent4aec5303f0aff078157362b67fa516948b89fea9
When a bitmap indexscan is using a partial index, it is necessary to include
the partial index predicate in the scan's "recheck condition".  Otherwise,
if the scan becomes lossy for lack of bitmap memory, we would fail to enforce
that returned rows satisfy the predicate.  Noted while studying bug #2441
from Arjen van der Meijden.
src/backend/optimizer/plan/createplan.c