public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alvaro Herrera <[email protected]>
To: [email protected]
Subject: pgsql: Rename SLRU elements in view pg_stat_slru
Date: Wed, 28 Feb 2024 08:42:50 +0000
Message-ID: <[email protected]> (raw)
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 <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bcdfa5f2e2f274caeed20b2f986012a9cb6a259c
Modified Files
--------------
doc/src/sgml/monitoring.sgml | 14 +++++------
src/backend/access/transam/clog.c | 2 +-
src/backend/access/transam/commit_ts.c | 2 +-
src/backend/access/transam/multixact.c | 4 +--
src/backend/access/transam/subtrans.c | 2 +-
src/backend/commands/async.c | 2 +-
src/backend/storage/lmgr/predicate.c | 2 +-
src/include/utils/pgstat_internal.h | 14 +++++------
src/test/isolation/expected/stats.out | 44 ++++++++++++++++-----------------
src/test/isolation/expected/stats_1.out | 44 ++++++++++++++++-----------------
src/test/isolation/specs/stats.spec | 4 +--
src/test/regress/expected/stats.out | 14 +++++------
src/test/regress/sql/stats.sql | 14 +++++------
13 files changed, 81 insertions(+), 81 deletions(-)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgsql: Rename SLRU elements in view pg_stat_slru
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox