extended stats: Clarify behavior of omitting stat type clause
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 25 May 2017 17:17:57 +0000 (13:17 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 25 May 2017 17:22:25 +0000 (13:22 -0400)
Pointed out by Jeff Janes
Discussion: https://postgr.es/m/CAMkU=1zGhK-nW10RAXhokcT3MM=YBg=j5LkG9RMDwmu3i0H0Og@mail.gmail.com

doc/src/sgml/ref/create_statistics.sgml

index 854746de24da439f5198f66c3cb13921b695295a..f319a6ea9c2163b54f309720381e0efdcb4c70e4 100644 (file)
@@ -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>