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
This commit is contained in:
Bruce Momjian 2025-05-05 14:56:58 -04:00
parent 092e72a930
commit 0de2e1c8b5

View File

@ -783,7 +783,7 @@ Add per-backend I/O statistics reporting (Bertrand Drouvot)
</para>
<para>
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().
</para>
</listitem>
@ -867,6 +867,10 @@ Author: Michael Paquier <michael@paquier.xyz>
Add function pg_stat_get_backend_wal() to return per-backend WAL statistics (Bertrand Drouvot)
<ulink url="&commit_baseurl;76def4cdd">&sect;</ulink>
</para>
<para>
Per-backend WAL statistics can be cleared via pg_stat_reset_backend_stats().
</para>
</listitem>
<!--