From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Rename SLRU elements in view pg_stat_slru |
Date: | 2024-02-28 08:42:50 |
Message-ID: | E1rfFWc-001CBQ-3x@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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 <x4mmm(at)yandex-team(dot)ru>
Discussion: https://postgr.es/m/202402261616.dlriae7b6emv@alvherre.pgsql
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2024-02-28 11:25:11 | pgsql: Remove AIX support |
Previous Message | Michael Paquier | 2024-02-28 03:52:03 | pgsql: Remove last NULL element in config_group_names[] |