| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: pgstat: remove stats_temp_directory. |
| Date: | 2022-04-07 04:37:02 |
| Message-ID: | E1ncJtG-000gDN-1l@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
pgstat: remove stats_temp_directory.
With stats now being stored in shared memory, the GUC isn't needed
anymore. However, the pg_stat_tmp directory and PG_STAT_TMP_DIR define are
kept, as pg_stat_statements (and some out-of-core extensions) store data in
it.
Docs will be updated in a subsequent commit, together with the other pending
docs updates due to shared memory stats.
Author: Andres Freund <andres(at)anarazel(dot)de>
Author: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Reviewed-By: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Discussion: https://postgr.es/m/20220330233550.eiwsbearu6xhuqwe@alap3.anarazel.de
Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6f0cf87872ab2fd4a81249ca9d6299b9b1a52277
Modified Files
--------------
contrib/pg_stat_statements/pg_stat_statements.c | 7 +----
src/backend/postmaster/pgstat.c | 10 ------
src/backend/replication/basebackup.c | 36 ++--------------------
src/backend/utils/misc/guc.c | 41 -------------------------
src/backend/utils/misc/postgresql.conf.sample | 1 -
src/bin/pg_rewind/filemap.c | 5 ++-
src/include/pgstat.h | 4 ---
src/test/perl/PostgreSQL/Test/Cluster.pm | 4 ---
8 files changed, 5 insertions(+), 103 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2022-04-07 05:35:26 | pgsql: Add single-item cache when looking at topmost XID of a subtrans |
| Previous Message | Amit Kapila | 2022-04-07 04:21:42 | pgsql: Reorder subskiplsn in pg_subscription to avoid alignment issues. |