From 0de2e1c8b5423c07700112f44499a5fdc0ab0991 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 5 May 2025 14:56:58 -0400 Subject: [PATCH] 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 --- doc/src/sgml/release-18.sgml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(). +