Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1379fb0

Browse files
committed
Document that expression indexes that call functions allow function-level
statistics.
1 parent 7cdadc6 commit 1379fb0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/src/sgml/maintenance.sgml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.99 2010/02/08 04:33:51 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.100 2010/02/23 02:47:27 momjian Exp $ -->
22

33
<chapter id="maintenance">
44
<title>Routine Database Maintenance Tasks</title>
@@ -318,6 +318,14 @@
318318
SET STATISTICS</>, or change the database-wide default using the <xref
319319
linkend="guc-default-statistics-target"> configuration parameter.
320320
</para>
321+
322+
<para>
323+
Also, by default there is limited information available about
324+
the selectivity of functions. However, if you create an expression
325+
index that uses a function call, useful statistics will be
326+
gathered about the function, which can greatly improve query
327+
plans that use the expression index.
328+
</para>
321329
</tip>
322330
</sect2>
323331

0 commit comments

Comments
 (0)