Using canonicalize_qual() to get rid of duplicate index predicate
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Dec 2003 22:22:45 +0000 (22:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Dec 2003 22:22:45 +0000 (22:22 +0000)
commit5c5b911fcc9dd2c3f3397800a8a625ef644962e1
tree0c99024d096ae6550f092e2ed8dc79c30cc570b4
parentb53ca9bbcb2892c6c24f7ab4aa087b35ef1222e6
Using canonicalize_qual() to get rid of duplicate index predicate
conditions is overkill; set_union() does the job about as well, and
much more efficiently.  Furthermore this avoids assuming that
canonicalize_qual() will check for duplicate clauses at all, which
it may not always do.
src/backend/utils/adt/selfuncs.c