From: Bruce Momjian Date: Mon, 5 May 2025 18:56:58 +0000 (-0400) Subject: doc PG 18 relnotes: add mention of pg_stat_reset_backend_stats() X-Git-Tag: REL_18_BETA1~2 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=0de2e1c8b5423c07700112f44499a5fdc0ab0991;p=postgresql.git doc PG 18 relnotes: add mention of pg_stat_reset_backend_stats() This is for WAL statistics. Reported-by: Bertrand Drouvot Discussion: https://postgr.es/m/aBjGlj+Yi++fVRQt@ip-10-97-1-34.eu-west-3.compute.internal --- diff --git a/doc/src/sgml/release-18.sgml b/doc/src/sgml/release-18.sgml index b281e210aae..2fda2b94964 100644 --- a/doc/src/sgml/release-18.sgml +++ b/doc/src/sgml/release-18.sgml @@ -783,7 +783,7 @@ Add per-backend I/O statistics reporting (Bertrand Drouvot) -The statistics are accessed via pg_stat_get_backend_io(). Per-backend statistics can be cleared via pg_stat_reset_backend_stats(). +The statistics are accessed via pg_stat_get_backend_io(). Per-backend I/O statistics can be cleared via pg_stat_reset_backend_stats(). @@ -867,6 +867,10 @@ Author: Michael Paquier Add function pg_stat_get_backend_wal() to return per-backend WAL statistics (Bertrand Drouvot) § + + +Per-backend WAL statistics can be cleared via pg_stat_reset_backend_stats(). +