Fix breakage of bitmap scan plan creation for special index operators such
Tom Lane <tgl@sss.pgh.pa.us>
Fix breakage of bitmap scan plan creation for special index operators such as LIKE. I oversimplified this code when removing support for plan-time determination of index operator lossiness back in April --- I had thought create_bitmap_subplan could stop returning two separate lists of qual conditions, but it still must so that we can treat special operators correctly in create_bitmap_scan_plan. Per report from Rushabh Lathia.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/plan/createplan.c | modified | +44 −19 |
| src/test/regress/expected/btree_index.out | modified | +29 −0 |
| src/test/regress/sql/btree_index.sql | modified | +13 −0 |