summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2017-05-25 17:17:57 +0000
committerAlvaro Herrera2017-05-25 17:22:25 +0000
commiteb67e2e35a046f700172fbce52ad2331fe6c57ac (patch)
treed95e2d9dc60c392aa4ef56f5565c94d5d1a7fb36
parentea3e310e712ac53653d4100ea2a7c516c30d4971 (diff)
extended stats: Clarify behavior of omitting stat type clause
Pointed out by Jeff Janes Discussion: https://postgr.es/m/CAMkU=1zGhK-nW10RAXhokcT3MM=YBg=j5LkG9RMDwmu3i0H0Og@mail.gmail.com
-rw-r--r--doc/src/sgml/ref/create_statistics.sgml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/create_statistics.sgml b/doc/src/sgml/ref/create_statistics.sgml
index 854746de24..f319a6ea9c 100644
--- a/doc/src/sgml/ref/create_statistics.sgml
+++ b/doc/src/sgml/ref/create_statistics.sgml
@@ -84,6 +84,8 @@ CREATE STATISTICS [ IF NOT EXISTS ] <replaceable class="PARAMETER">statistics_na
<literal>ndistinct</literal>, which enables n-distinct statistics, and
<literal>dependencies</literal>, which enables functional
dependency statistics.
+ If this clause is omitted, all supported statistic types are
+ included in the statistics object.
For more information, see <xref linkend="planner-stats-extended">
and <xref linkend="multivariate-statistics-examples">.
</para>