From: Bruce Momjian Date: Tue, 23 Feb 2010 02:47:27 +0000 (+0000) Subject: Document that expression indexes that call functions allow function-level X-Git-Tag: REL9_0_ALPHA5~222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1379fb052fd18e87a5102e793bdb5b8bc2bf5d17;p=postgresql Document that expression indexes that call functions allow function-level statistics. --- diff --git a/doc/src/sgml/maintenance.sgml b/doc/src/sgml/maintenance.sgml index ecec84cc2d..0b01467ee0 100644 --- a/doc/src/sgml/maintenance.sgml +++ b/doc/src/sgml/maintenance.sgml @@ -1,4 +1,4 @@ - + Routine Database Maintenance Tasks @@ -318,6 +318,14 @@ SET STATISTICS, or change the database-wide default using the configuration parameter. + + + Also, by default there is limited information available about + the selectivity of functions. However, if you create an expression + index that uses a function call, useful statistics will be + gathered about the function, which can greatly improve query + plans that use the expression index. +