pgsql: Don't try to remove duplicate OR-subclauses in

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't try to remove duplicate OR-subclauses in
Date: 2005-10-13 00:06:47
Message-ID: 20051013000647.0FE13D8178@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Don't try to remove duplicate OR-subclauses in create_bitmap_subplan and
make_restrictinfo_from_bitmapqual. The likelihood of finding duplicates
seems much less than in the AND-subclause case, and the cost much higher,
because OR lists with hundreds or even thousands of subclauses are not
uncommon. Per discussion with Ilia Kantor and andrew(at)supernews(dot)

Modified Files:
--------------
pgsql/src/backend/optimizer/plan:
createplan.c (r1.199 -> r1.200)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/createplan.c.diff?r1=1.199&r2=1.200)
pgsql/src/backend/optimizer/util:
restrictinfo.c (r1.39 -> r1.40)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/restrictinfo.c.diff?r1=1.39&r2=1.40)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-10-13 00:27:32 Re: pgsql: Do all accesses to shared buffer headers through
Previous Message Neil Conway 2005-10-12 23:36:30 Re: pgsql: Do all accesses to shared buffer headers