]> granicus.if.org Git - postgresql/commit
Don't try to remove duplicate OR-subclauses in create_bitmap_subplan and
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Oct 2005 00:06:46 +0000 (00:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Oct 2005 00:06:46 +0000 (00:06 +0000)
commit1e9a6ba5e6984186dca7f5d827b9f92c9fe17e51
tree3b428dc86625527fba4ff180fe3926e516c03d5f
parent23e2f9ebf701274594abeb8d36c7c01eb6b3919b
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@supernews.
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/util/restrictinfo.c