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)
commit2c16321a4e66b015ecfa10137fcb2c339559239b
tree8e111fac114aa255530a0eaf6126e93d4dbd576b
parent7f63b3e4d849545e17877cd63b0ecdfd1b852961
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