From bcdfa5f2e2f274caeed20b2f986012a9cb6a259c Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Wed, 28 Feb 2024 09:39:52 +0100 Subject: Rename SLRU elements in view pg_stat_slru The new names are intended to match those in an upcoming patch that adds a few GUCs to configure the SLRU buffer sizes. Backwards compatibility concern: this changes the accepted names for function pg_stat_slru_rest(). Since this function recognizes "any other string" as a request to reset the entry for "other", this means that calling it with the old names would silently reset "other" instead of doing nothing or throwing an error. Reviewed-by: Andrey M. Borodin Discussion: https://postgr.es/m/202402261616.dlriae7b6emv@alvherre.pgsql --- doc/src/sgml/monitoring.sgml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index 5cf9363ac82..9d73d8c1bbe 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -4853,13 +4853,13 @@ description | Waiting for a newly initialized WAL file to reach durable storage NULL or is not specified, all the counters shown in the pg_stat_slru view for all SLRU caches are reset. The argument can be one of - CommitTs, - MultiXactMember, - MultiXactOffset, - Notify, - Serial, - Subtrans, or - Xact + commit_timestamp, + multixact_member, + multixact_offset, + notify, + serializable, + subtransaction, or + transaction to reset the counters for only that entry. If the argument is other (or indeed, any unrecognized name), then the counters for all other SLRU caches, such -- cgit v1.2.3