CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)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.