-
- Downloads
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.
Showing
- src/backend/nodes/list.c 155 additions, 5 deletionssrc/backend/nodes/list.c
- src/backend/optimizer/path/indxpath.c 73 additions, 37 deletionssrc/backend/optimizer/path/indxpath.c
- src/backend/optimizer/path/orindxpath.c 15 additions, 5 deletionssrc/backend/optimizer/path/orindxpath.c
- src/backend/optimizer/plan/createplan.c 59 additions, 11 deletionssrc/backend/optimizer/plan/createplan.c
- src/backend/optimizer/plan/planagg.c 4 additions, 2 deletionssrc/backend/optimizer/plan/planagg.c
- src/backend/optimizer/util/restrictinfo.c 76 additions, 18 deletionssrc/backend/optimizer/util/restrictinfo.c
- src/include/nodes/pg_list.h 11 additions, 1 deletionsrc/include/nodes/pg_list.h
- src/include/optimizer/paths.h 3 additions, 2 deletionssrc/include/optimizer/paths.h
- src/include/optimizer/restrictinfo.h 3 additions, 2 deletionssrc/include/optimizer/restrictinfo.h
Loading
Please register or sign in to comment