aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-01-25 14:35:31 -0500
committerPeter Eisentraut <peter_e@gmx.net>2017-01-25 14:38:33 -0500
commit5a366b4ff4ceceb9793fcc13c3f097ee0d32c56d (patch)
tree61a4e4a82d83e1a8bddf1816ac75bcc7c1d642a8 /src
parentf7c62462402972b13d10e43f104ca0c0fecb6d08 (diff)
downloadpostgresql-5a366b4ff4ceceb9793fcc13c3f097ee0d32c56d.tar.gz
postgresql-5a366b4ff4ceceb9793fcc13c3f097ee0d32c56d.zip
Fix typo: pg_statistics -> pg_statistic
Diffstat (limited to 'src')
-rw-r--r--src/backend/postmaster/autovacuum.c2
-rw-r--r--src/backend/utils/cache/lsyscache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/postmaster/autovacuum.c b/src/backend/postmaster/autovacuum.c
index 51821d3f55a..0c5ffa086c3 100644
--- a/src/backend/postmaster/autovacuum.c
+++ b/src/backend/postmaster/autovacuum.c
@@ -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;
}
diff --git a/src/backend/utils/cache/lsyscache.c b/src/backend/utils/cache/lsyscache.c
index aff88a555d2..1b04c098d06 100644
--- a/src/backend/utils/cache/lsyscache.c
+++ b/src/backend/utils/cache/lsyscache.c
@@ -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.