Fix typo: pg_statistics -> pg_statistic
authorPeter Eisentraut
Wed, 25 Jan 2017 19:35:31 +0000 (14:35 -0500)
committerPeter Eisentraut
Wed, 25 Jan 2017 19:38:33 +0000 (14:38 -0500)
doc/src/sgml/planstats.sgml
doc/src/sgml/release-7.4.sgml
doc/src/sgml/release-old.sgml
src/backend/postmaster/autovacuum.c
src/backend/utils/cache/lsyscache.c

index 1a482d37f475ad319a7c3becb581a29a82f803c4..b73c66bde24d1aa226df74897573b5a7172b6866 100644 (file)
@@ -94,7 +94,7 @@ EXPLAIN SELECT * FROM tenk1 WHERE unique1 < 1000;
    and the entry in this case is scalarltsel.
    The scalarltsel function retrieves the histogram for
    unique1 from
-   pg_statistics.  For manual queries it is more
+   pg_statistic.  For manual queries it is more
    convenient to look in the simpler pg_stats
    view:
 
index e42be5b89d05fc7771b498d2582f3aedd04e4bcf..649c82b17e01fdad7678bfd8343697afd0d80ab6 100644 (file)
@@ -2614,7 +2614,7 @@ UPDATE pg_database SET datallowconn = false WHERE datname = 'template0';
 
 
 
-Fix pg_statistics alignment bug that could crash optimizer
+Fix pg_statistic alignment bug that could crash optimizer
 See above for details about this problem.
 Allow non-super users to update pg_settings
 Fix several optimizer bugs, most of which led to
index cd9b3db35a37f031ab4ac840b0088df9c2d12e58..a480a1d484a8a9ffdce269101469ef9d40d45c48 100644 (file)
@@ -1650,7 +1650,7 @@ operations on bytea columns (Joe)
 Add variable db_user_namespace for database-local user names (Bruce)
 SSL improvements (Bear Giles)
 Make encryption of stored passwords the default (Bruce)
-Allow pg_statistics to be reset by calling pg_stat_reset() (Christopher)
+Allow pg_statistic to be reset by calling pg_stat_reset() (Christopher)
 Add log_duration parameter (Bruce)
 Rename debug_print_query to log_statement (Bruce)
 Rename show_query_stats to show_statement_stats (Bruce)
@@ -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)
index 51821d3f55a925c72f4d01f45e98bf1ee026dd7f..0c5ffa086c300ece8f364bef42ae175380a16550 100644 (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;
 }
index aff88a555d224aeda51ce82dfb867f30c596a679..1b04c098d061e844c025d5296d4adfa2c079950b 100644 (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.