Document pg_statistic_ext.stxstattarget
authorTomas Vondra <tomas.vondra@postgresql.org>
Wed, 18 Mar 2020 15:48:12 +0000 (16:48 +0100)
committerTomas Vondra <tomas.vondra@postgresql.org>
Wed, 18 Mar 2020 15:48:12 +0000 (16:48 +0100)
Commit d06215d03b added a new attribute to pg_statistic_ext catalog, but
failed to add it to document it properly.

Reported-by: Noriyoshi Shinoda <noriyoshi.shinoda@hpe.com>
doc/src/sgml/catalogs.sgml

index c6f95fa6881cf3af211cf4a237c3e98c1479f80a..64614b569c80a5643963a89c8c3f6a3431000d8d 100644 (file)
@@ -6452,6 +6452,22 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
       <entry>Owner of the statistics object</entry>
      </row>
 
+     <row>
+      <entry><structfield>stxstattarget</structfield></entry>
+      <entry><type>int4</type></entry>
+      <entry></entry>
+      <entry>
+       <structfield>stxstattarget</structfield> controls the level of detail
+       of statistics accumulated for this statistics object by
+       <xref linkend="sql-analyze"/>.
+       A zero value indicates that no statistics should be collected.
+       A negative value says to use the system default statistics target.
+       Positive values <structfield>stxstattarget</structfield>
+       determine the target number of <quote>most common values</quote>
+       to collect.
+      </entry>
+     </row>
+
      <row>
       <entry><structfield>stxkeys</structfield></entry>
       <entry><type>int2vector</type></entry>