From bdbd3d9064f9dbd064253e05f156ec77d4a90d05 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Wed, 6 Apr 2022 13:56:06 -0700 Subject: pgstat: stats collector references in comments. Soon the stats collector will be no more, with statistics instead getting stored in shared memory. There are a lot of references to the stats collector in comments. This commit replaces most of these references with "cumulative statistics system", with the remaining ones getting replaced as part of subsequent commits. This is done separately from the - quite large - shared memory statistics patch to make review easier. Author: Andres Freund Reviewed-By: Justin Pryzby Reviewed-By: Thomas Munro Reviewed-By: Kyotaro Horiguchi Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de Discussion: https://postgr.es/m/20220308205351.2xcn6k4x5yivcxyd@alap3.anarazel.de --- src/backend/utils/adt/pgstatfuncs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/utils/adt/pgstatfuncs.c') diff --git a/src/backend/utils/adt/pgstatfuncs.c b/src/backend/utils/adt/pgstatfuncs.c index ce84525d402..fd4276fbc67 100644 --- a/src/backend/utils/adt/pgstatfuncs.c +++ b/src/backend/utils/adt/pgstatfuncs.c @@ -1,7 +1,7 @@ /*------------------------------------------------------------------------- * * pgstatfuncs.c - * Functions for accessing the statistics collector data + * Functions for accessing various forms of statistics data * * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California @@ -1820,7 +1820,7 @@ pg_stat_get_slru(PG_FUNCTION_ARGS) SetSingleFuncCall(fcinfo, 0); - /* request SLRU stats from the stat collector */ + /* request SLRU stats from the cumulative stats system */ stats = pgstat_fetch_slru(); for (i = 0;; i++) -- cgit v1.2.3