Thread: pgsql-server/src backend/optimizer/path/costsi ...

pgsql-server/src backend/optimizer/path/costsi ...

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    04/02/16 20:52:53

Modified files:
    src/backend/optimizer/path: costsize.c
    src/backend/optimizer/util: relnode.c
    src/backend/utils/adt: selfuncs.c
    src/include/optimizer: pathnode.h
    src/include/utils: selfuncs.h

Log message:
    Make use of statistics on index expressions.  There are still some
    corner cases that could stand improvement, but it does all the basic
    stuff.  A byproduct is that the selectivity routines are no longer
    constrained to working on simple Vars; we might in future be able to
    improve the behavior for subexpressions that don't match indexes.