]> granicus.if.org Git - postgresql/commit
Make use of statistics on index expressions. There are still some
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 17 Feb 2004 00:52:53 +0000 (00:52 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 17 Feb 2004 00:52:53 +0000 (00:52 +0000)
commita536ed53bca40cb0d199824e358a86fcfd5db7f2
treec61f5d7535a780bc7cb709ea84e0450c36f2e9a8
parentd372bba02d946b93d928ffe06682f23ff33b9277
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.
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