summaryrefslogtreecommitdiff
path: root/src/backend/utils/activity/pgstat_backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/activity/pgstat_backend.c')
-rw-r--r--src/backend/utils/activity/pgstat_backend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/activity/pgstat_backend.c b/src/backend/utils/activity/pgstat_backend.c
index 8714a85e2d9..07a1116671b 100644
--- a/src/backend/utils/activity/pgstat_backend.c
+++ b/src/backend/utils/activity/pgstat_backend.c
@@ -41,9 +41,9 @@ static bool backend_has_iostats = false;
/*
* WAL usage counters saved from pgWalUsage at the previous call to
- * pgstat_report_wal(). This is used to calculate how much WAL usage
- * happens between pgstat_report_wal() calls, by subtracting the previous
- * counters from the current ones.
+ * pgstat_flush_backend(). This is used to calculate how much WAL usage
+ * happens between pgstat_flush_backend() calls, by subtracting the
+ * previous counters from the current ones.
*/
static WalUsage prevBackendWalUsage;