summaryrefslogtreecommitdiff
path: root/src/backend/postmaster/pgstat.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-04-06 14:08:57 -0700
committerAndres Freund <andres@anarazel.de>2022-04-06 14:08:57 -0700
commitcc96373cf39bbfb386a40a47b7f0ea8f051f1838 (patch)
treeb095cde2b33b82c2e46c3a6d479152005d731515 /src/backend/postmaster/pgstat.c
parentdbafe127bb215f512164669b49f99fcb7ed9d266 (diff)
pgstat: rename some pgstat_send_* functions to pgstat_report_*.
Only the pgstat_send_* functions that are called from outside pgstat*.c are renamed (the rest will go away). This is done separately from the - quite large - shared memory statistics patch to make review easier. Author: Andres Freund <andres@anarazel.de> Reviewed-By: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Discussion: https://postgr.es/m/20220404041516.cctrvpadhuriawlq@alap3.anarazel.de
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 8cbed1d1bc3..586dd710ef0 100644
--- a/src/backend/postmaster/pgstat.c
+++ b/src/backend/postmaster/pgstat.c
@@ -793,7 +793,7 @@ pgstat_report_stat(bool disconnect)
pgstat_send_funcstats();
/* Send WAL statistics */
- pgstat_send_wal(true);
+ pgstat_report_wal(true);
/* Finally send SLRU statistics */
pgstat_send_slru();