pgstat: remove stats_temp_directory.
Andres Freund <andres@anarazel.de>
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@anarazel.de> Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Reviewed-By: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Discussion: https://postgr.es/m/20220330233550.eiwsbearu6xhuqwe@alap3.anarazel.de Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_stat_statements/pg_stat_statements.c | modified | +1 −6 |
| src/backend/postmaster/pgstat.c | modified | +0 −10 |
| src/backend/replication/basebackup.c | modified | +2 −34 |
| src/backend/utils/misc/guc.c | modified | +0 −41 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +0 −1 |
| src/bin/pg_rewind/filemap.c | modified | +2 −3 |
| src/include/pgstat.h | modified | +0 −4 |
| src/test/perl/PostgreSQL/Test/Cluster.pm | modified | +0 −4 |
Discussion
- shared-memory based stats collector 339 messages · 2018-06-29 → 2024-12-10
- Higher level questions around shared memory stats 19 messages · 2022-03-29 → 2022-04-04