]> granicus.if.org Git - postgresql/commit
Fix a bunch of bad interactions between partial indexes and the new
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 Jul 2005 20:26:22 +0000 (20:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 Jul 2005 20:26:22 +0000 (20:26 +0000)
commita4ca84231973395be9a6a415f286573decd2cd61
treee010f75d93503298cd5bb9f4ad713db4c8ceae71
parent3535cb827a5f4e829ccbaef04dd225d2ad9b995a
Fix a bunch of bad interactions between partial indexes and the new
planning logic for bitmap indexscans.  Partial indexes create corner
cases in which a scan might be done with no explicit index qual conditions,
and the code wasn't handling those cases nicely.  Also be a little
tenser about eliminating redundant clauses in the generated plan.
Per report from Dmitry Karasik.
src/backend/nodes/list.c
src/backend/optimizer/path/indxpath.c
src/backend/optimizer/path/orindxpath.c
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/plan/planagg.c
src/backend/optimizer/util/restrictinfo.c
src/include/nodes/pg_list.h
src/include/optimizer/paths.h
src/include/optimizer/restrictinfo.h