Thread: pgsql-server/src/backend/optimizer/path indxpath.c

pgsql-server/src/backend/optimizer/path indxpath.c

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

Modified files:
    src/backend/optimizer/path: indxpath.c

Log message:
    Be a little smarter in group_clauses_by_indexkey_for_join: detect cases
    where a joinclause is redundant with a restriction clause.  Original coding
    believed this was impossible and didn't need to be checked for, but that
    was a thinko ...