Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5a366b4

Browse files
committed
Fix typo: pg_statistics -> pg_statistic
1 parent f7c6246 commit 5a366b4

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

doc/src/sgml/planstats.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ EXPLAIN SELECT * FROM tenk1 WHERE unique1 < 1000;
9494
and the entry in this case is <function>scalarltsel</function>.
9595
The <function>scalarltsel</function> function retrieves the histogram for
9696
<structfield>unique1</structfield> from
97-
<structname>pg_statistics</structname>. For manual queries it is more
97+
<structname>pg_statistic</structname>. For manual queries it is more
9898
convenient to look in the simpler <structname>pg_stats</structname>
9999
view:
100100

doc/src/sgml/release-7.4.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2614,7 +2614,7 @@ UPDATE pg_database SET datallowconn = false WHERE datname = 'template0';
26142614
</para>
26152615

26162616
<itemizedlist>
2617-
<listitem><para>Fix <structname>pg_statistics</> alignment bug that could crash optimizer</para>
2617+
<listitem><para>Fix <structname>pg_statistic</> alignment bug that could crash optimizer</para>
26182618
<para>See above for details about this problem.</para></listitem>
26192619
<listitem><para>Allow non-super users to update <structname>pg_settings</></para></listitem>
26202620
<listitem><para>Fix several optimizer bugs, most of which led to

doc/src/sgml/release-old.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,7 +1650,7 @@ operations on bytea columns (Joe)</para></listitem>
16501650
<listitem><para>Add variable db_user_namespace for database-local user names (Bruce)</para></listitem>
16511651
<listitem><para>SSL improvements (Bear Giles)</para></listitem>
16521652
<listitem><para>Make encryption of stored passwords the default (Bruce)</para></listitem>
1653-
<listitem><para>Allow pg_statistics to be reset by calling pg_stat_reset() (Christopher)</para></listitem>
1653+
<listitem><para>Allow pg_statistic to be reset by calling pg_stat_reset() (Christopher)</para></listitem>
16541654
<listitem><para>Add log_duration parameter (Bruce)</para></listitem>
16551655
<listitem><para>Rename debug_print_query to log_statement (Bruce)</para></listitem>
16561656
<listitem><para>Rename show_query_stats to show_statement_stats (Bruce)</para></listitem>
@@ -3893,7 +3893,7 @@ Faster sorting by calling fewer functions (Tom)
38933893
Create system indexes to match all system caches (Bruce, Hiroshi)
38943894
Make system caches use system indexes (Bruce)
38953895
Make all system indexes unique (Bruce)
3896-
Improve pg_statistics management for VACUUM speed improvement (Tom)
3896+
Improve pg_statistic management for VACUUM speed improvement (Tom)
38973897
Flush backend cache less frequently (Tom, Hiroshi)
38983898
COPY now reuses previous memory allocation, improving performance (Tom)
38993899
Improve optimization cost estimation (Tom)

src/backend/postmaster/autovacuum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2876,7 +2876,7 @@ relation_needs_vacanalyze(Oid relid,
28762876
*doanalyze = false;
28772877
}
28782878

2879-
/* ANALYZE refuses to work with pg_statistics */
2879+
/* ANALYZE refuses to work with pg_statistic */
28802880
if (relid == StatisticRelationId)
28812881
*doanalyze = false;
28822882
}

src/backend/utils/cache/lsyscache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2832,7 +2832,7 @@ get_attavgwidth(Oid relid, AttrNumber attnum)
28322832
* that have been provided by a stats hook and didn't really come from
28332833
* pg_statistic.
28342834
*
2835-
* statstuple: pg_statistics tuple to be examined.
2835+
* statstuple: pg_statistic tuple to be examined.
28362836
* atttype: type OID of attribute (can be InvalidOid if values == NULL).
28372837
* atttypmod: typmod of attribute (can be 0 if values == NULL).
28382838
* reqkind: STAKIND code for desired statistics slot kind.

0 commit comments

Comments
 (0)