Thread: pgsql-server/src/backend/utils/adt selfuncs.c

pgsql-server/src/backend/utils/adt selfuncs.c

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/12/29 18:22:45

Modified files:
    src/backend/utils/adt: selfuncs.c

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