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
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(-)