summaryrefslogtreecommitdiff
path: root/src/backend/postmaster/pgstat.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-08-19 16:21:39 +0900
committerMichael Paquier <michael@paquier.xyz>2019-08-19 16:21:39 +0900
commitc96581abe418a3bf64b643aa4e27091d1eaea1c1 (patch)
tree9a311850bacb63d295ce38e006ed10121cf3eae4 /src/backend/postmaster/pgstat.c
parent927f34ce8a215c8b254136f710cca9ca4da1352c (diff)
downloadpostgresql-c96581abe418a3bf64b643aa4e27091d1eaea1c1.tar.gz
Fix inconsistencies and typos in the tree, take 11
This fixes various typos in docs and comments, and removes some orphaned definitions. Author: Alexander Lakhin Discussion: https://postgr.es/m/5da8e325-c665-da95-21e0-c8a99ea61fbf@gmail.com
Diffstat (limited to 'src/backend/postmaster/pgstat.c')
-rw-r--r--src/backend/postmaster/pgstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c
index 2bb14cdd02..d362e7f7d7 100644
--- a/src/backend/postmaster/pgstat.c
+++ b/src/backend/postmaster/pgstat.c
@@ -893,7 +893,7 @@ pgstat_report_stat(bool force)
this_msg->m_nentries = 0;
}
}
- /* zero out TableStatus structs after use */
+ /* zero out PgStat_TableStatus structs after use */
MemSet(tsa->tsa_entries, 0,
tsa->tsa_used * sizeof(PgStat_TableStatus));
tsa->tsa_used = 0;