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/pgarch.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/pgarch.c')
-rw-r--r-- | src/backend/postmaster/pgarch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/postmaster/pgarch.c b/src/backend/postmaster/pgarch.c index adfa404f464..0c8ca29f73d 100644 --- a/src/backend/postmaster/pgarch.c +++ b/src/backend/postmaster/pgarch.c @@ -480,7 +480,7 @@ pgarch_ArchiverCopyLoop(void) * Tell the cumulative stats system about the WAL file that we * successfully archived */ - pgstat_send_archiver(xlog, false); + pgstat_report_archiver(xlog, false); break; /* out of inner retry loop */ } @@ -490,7 +490,7 @@ pgarch_ArchiverCopyLoop(void) * Tell the cumulative stats system about the WAL file that we * failed to archive */ - pgstat_send_archiver(xlog, true); + pgstat_report_archiver(xlog, true); if (++failures >= NUM_ARCHIVE_RETRIES) { |