diff options
author | Andres Freund <andres@anarazel.de> | 2022-04-06 14:08:57 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-04-06 14:08:57 -0700 |
commit | cc96373cf39bbfb386a40a47b7f0ea8f051f1838 (patch) | |
tree | b095cde2b33b82c2e46c3a6d479152005d731515 /src/backend/postmaster/pgstat.c | |
parent | dbafe127bb215f512164669b49f99fcb7ed9d266 (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.c | 2 |
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(); |