@@ -91,9 +91,8 @@ test=# \COPY (select dump_statistic()) TO 'dump_stat.sql'
91
91
<link linkend="catalog-pg-statistic"><structname>pg_statistic</structname></link>
92
92
system catalog. It produces an <literal>INSERT</> statement
93
93
per each tuple of the
94
- <link linkend="catalog-pg-statistic"><structname>pg_statistic</structname></link>,
95
- excluding the ones that do not relate to the tables in the
96
- <literal>schema_name</> schema.
94
+ <link linkend="catalog-pg-statistic"><structname>pg_statistic</structname></link>
95
+ that relates to some table in the <literal>schema_name</> schema.
97
96
</para>
98
97
</listitem>
99
98
</varlistentry>
@@ -109,9 +108,25 @@ test=# \COPY (select dump_statistic()) TO 'dump_stat.sql'
109
108
<link linkend="catalog-pg-statistic"><structname>pg_statistic</structname></link>
110
109
system catalog. It produces an <literal>INSERT</> statement
111
110
per each tuple of the
112
- <link linkend="catalog-pg-statistic"><structname>pg_statistic</structname></link>,
113
- excluding the ones that do not relate to the specified
114
- <literal>"schema_name.table_name"</> table.
111
+ <link linkend="catalog-pg-statistic"><structname>pg_statistic</structname></link>
112
+ that relates to the specified <literal>schema_name.table_name</> table.
113
+ </para>
114
+ </listitem>
115
+ </varlistentry>
116
+
117
+ <varlistentry>
118
+ <term>
119
+ <function>dump_statistic(relid oid) returns setof text</function>
120
+ </term>
121
+
122
+ <listitem>
123
+ <para>
124
+ <function>dump_statistic</function> dumps the contents of the
125
+ <link linkend="catalog-pg-statistic"><structname>pg_statistic</structname></link>
126
+ system catalog. It produces an <literal>INSERT</> statement
127
+ per each tuple of the
128
+ <link linkend="catalog-pg-statistic"><structname>pg_statistic</structname></link>
129
+ that contains statistical data for the relation referenced by <literal>relid</>.
115
130
</para>
116
131
</listitem>
117
132
</varlistentry>