pgsql: Fix breakage of bitmap scan plan creation for special index

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix breakage of bitmap scan plan creation for special index
Date: 2008-11-20 19:52:54
Message-ID: 20081120195254.445EB7545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/optimizer/plan:
createplan.c (r1.251 -> r1.252)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/createplan.c?r1=1.251&r2=1.252)
pgsql/src/test/regress/expected:
btree_index.out (r1.5 -> r1.6)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/btree_index.out?r1=1.5&r2=1.6)
pgsql/src/test/regress/sql:
btree_index.sql (r1.5 -> r1.6)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/btree_index.sql?r1=1.5&r2=1.6)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-11-20 20:08:24 Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value.
Previous Message Magnus Hagander 2008-11-20 18:56:31 Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value.