Fix typo: pg_statistics -> pg_statistic

This commit is contained in:
Peter Eisentraut 2017-01-25 14:35:31 -05:00
parent f7c6246240
commit 5a366b4ff4
5 changed files with 6 additions and 6 deletions

View File

@ -94,7 +94,7 @@ EXPLAIN SELECT * FROM tenk1 WHERE unique1 < 1000;
and the entry in this case is <function>scalarltsel</function>.
The <function>scalarltsel</function> function retrieves the histogram for
<structfield>unique1</structfield> from
<structname>pg_statistics</structname>. For manual queries it is more
<structname>pg_statistic</structname>. For manual queries it is more
convenient to look in the simpler <structname>pg_stats</structname>
view:

View File

@ -2614,7 +2614,7 @@ UPDATE pg_database SET datallowconn = false WHERE datname = 'template0';
</para>
<itemizedlist>
<listitem><para>Fix <structname>pg_statistics</> alignment bug that could crash optimizer</para>
<listitem><para>Fix <structname>pg_statistic</> alignment bug that could crash optimizer</para>
<para>See above for details about this problem.</para></listitem>
<listitem><para>Allow non-super users to update <structname>pg_settings</></para></listitem>
<listitem><para>Fix several optimizer bugs, most of which led to

View File

@ -1650,7 +1650,7 @@ operations on bytea columns (Joe)</para></listitem>
<listitem><para>Add variable db_user_namespace for database-local user names (Bruce)</para></listitem>
<listitem><para>SSL improvements (Bear Giles)</para></listitem>
<listitem><para>Make encryption of stored passwords the default (Bruce)</para></listitem>
<listitem><para>Allow pg_statistics to be reset by calling pg_stat_reset() (Christopher)</para></listitem>
<listitem><para>Allow pg_statistic to be reset by calling pg_stat_reset() (Christopher)</para></listitem>
<listitem><para>Add log_duration parameter (Bruce)</para></listitem>
<listitem><para>Rename debug_print_query to log_statement (Bruce)</para></listitem>
<listitem><para>Rename show_query_stats to show_statement_stats (Bruce)</para></listitem>
@ -3893,7 +3893,7 @@ Faster sorting by calling fewer functions (Tom)
Create system indexes to match all system caches (Bruce, Hiroshi)
Make system caches use system indexes (Bruce)
Make all system indexes unique (Bruce)
Improve pg_statistics management for VACUUM speed improvement (Tom)
Improve pg_statistic management for VACUUM speed improvement (Tom)
Flush backend cache less frequently (Tom, Hiroshi)
COPY now reuses previous memory allocation, improving performance (Tom)
Improve optimization cost estimation (Tom)

View File

@ -2876,7 +2876,7 @@ relation_needs_vacanalyze(Oid relid,
*doanalyze = false;
}
/* ANALYZE refuses to work with pg_statistics */
/* ANALYZE refuses to work with pg_statistic */
if (relid == StatisticRelationId)
*doanalyze = false;
}

View File

@ -2832,7 +2832,7 @@ get_attavgwidth(Oid relid, AttrNumber attnum)
* that have been provided by a stats hook and didn't really come from
* pg_statistic.
*
* statstuple: pg_statistics tuple to be examined.
* statstuple: pg_statistic tuple to be examined.
* atttype: type OID of attribute (can be InvalidOid if values == NULL).
* atttypmod: typmod of attribute (can be 0 if values == NULL).
* reqkind: STAKIND code for desired statistics slot kind.