Doc: move some catalogs.sgml entries to the right place.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 24 May 2021 22:03:47 +0000 (18:03 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 24 May 2021 22:03:47 +0000 (18:03 -0400)
pg_statistic_ext_data.stxdexpr was listed under the wrong catalog,
as was pg_stats_ext.exprs.  Also there was a bogus entry for
pg_statistic_ext_data.stxexprs.  Apparently a merge failure in
commit a4d75c86b.

Guillaume Lelarge and Tom Lane

Discussion: https://postgr.es/m/CAECtzeUHw+w64eUFVeV_2FJviAw6oZ0wNLkmU843ZH4hAQfiWg@mail.gmail.com

doc/src/sgml/catalogs.sgml

index 8aebc4d12f426aaf682dfc6f7fd24062f211a736..b26b872a06cf54dd555c8cc3e92cda6574e9a613 100644 (file)
@@ -7518,10 +7518,11 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
 
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>stxexprs</structfield> <type>pg_node_tree</type>
+       <structfield>stxdexpr</structfield> <type>pg_statistic[]</type>
       </para>
       <para>
-       A list of any expressions covered by this statistics object.
+       Per-expression statistics, serialized as an array of
+       <structname>pg_statistic</structname> type
       </para></entry>
      </row>
     </tbody>
@@ -7677,16 +7678,6 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
        see <xref linkend="logical-replication-publication"/>.
       </para></entry>
      </row>
-
-     <row>
-      <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>stxdexpr</structfield> <type>pg_statistic[]</type>
-      </para>
-      <para>
-       Per-expression statistics, serialized as an array of
-       <structname>pg_statistic</structname> type
-      </para></entry>
-     </row>
     </tbody>
    </tgroup>
   </table>
@@ -12751,19 +12742,10 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
        (references <link linkend="catalog-pg-attribute"><structname>pg_attribute</structname></link>.<structfield>attname</structfield>)
       </para>
       <para>
-       Names of the columns included in the extended statistics object
+       Name of column described by this row
       </para></entry>
      </row>
 
-     <row>
-      <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>exprs</structfield> <type>text[]</type>
-      </para>
-      <para>
-       Expressions included in the extended statistics object
-      </para></entry>
-      </row>
-
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
        <structfield>inherited</structfield> <type>bool</type>
@@ -13003,10 +12985,19 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
        (references <link linkend="catalog-pg-attribute"><structname>pg_attribute</structname></link>.<structfield>attname</structfield>)
       </para>
       <para>
-       Names of the columns the extended statistics object is defined on
+       Names of the columns included in the extended statistics object
       </para></entry>
      </row>
 
+     <row>
+      <entry role="catalog_table_entry"><para role="column_definition">
+       <structfield>exprs</structfield> <type>text[]</type>
+      </para>
+      <para>
+       Expressions included in the extended statistics object
+      </para></entry>
+      </row>
+
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
        <structfield>kinds</structfield> <type>char[]</type>