Fix breakage of bitmap scan plan creation for special index operators such
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Nov 2008 19:52:54 +0000 (19:52 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Nov 2008 19:52:54 +0000 (19:52 +0000)
commit5eb8d6e4ce82bc8062359f67991a3db134cece47
treedf14efabc5dc2fd3f728437b67be0ce8d84dd9b7
parentbab3f077a05d7da95017fdd1a7ddb9649b912da7
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.
src/backend/optimizer/plan/createplan.c
src/test/regress/expected/btree_index.out
src/test/regress/sql/btree_index.sql