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 <x4...@yandex-team.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(-)