doc: Update catalog documentation for attstattarget nullable
authorPeter Eisentraut <[email protected]>
Sun, 14 Jan 2024 06:46:01 +0000 (07:46 +0100)
committerPeter Eisentraut <[email protected]>
Sun, 14 Jan 2024 06:46:01 +0000 (07:46 +0100)
Fixup for 4f622503d6.

doc/src/sgml/catalogs.sgml

index 3ec7391ec5e6b769622f59d30344b85bdaa8d22d..c15d861e823deec8c176de4e3d2862c765324290 100644 (file)
       </para></entry>
      </row>
 
+     <row>
+      <entry role="catalog_table_entry"><para role="column_definition">
+       <structfield>attcollation</structfield> <type>oid</type>
+       (references <link linkend="catalog-pg-collation"><structname>pg_collation</structname></link>.<structfield>oid</structfield>)
+      </para>
+      <para>
+       The defined collation of the column, or zero if the column is
+       not of a collatable data type
+      </para></entry>
+     </row>
+
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
        <structfield>attstattarget</structfield> <type>int2</type>
        of statistics accumulated for this column by
        <link linkend="sql-analyze"><command>ANALYZE</command></link>.
        A zero value indicates that no statistics should be collected.
-       A negative value says to use the system default statistics target.
+       A null value says to use the system default statistics target.
        The exact meaning of positive values is data type-dependent.
        For scalar data types, <structfield>attstattarget</structfield>
        is both the target number of <quote>most common values</quote>
       </para></entry>
      </row>
 
-     <row>
-      <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>attcollation</structfield> <type>oid</type>
-       (references <link linkend="catalog-pg-collation"><structname>pg_collation</structname></link>.<structfield>oid</structfield>)
-      </para>
-      <para>
-       The defined collation of the column, or zero if the column is
-       not of a collatable data type
-      </para></entry>
-     </row>
-
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
        <structfield>attacl</structfield> <type>aclitem[]</type>