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 <[email protected]>
Author: Kyotaro Horiguchi <[email protected]>
Reviewed-By: Kyotaro Horiguchi <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]
Discussion: 
https://postgr.es/m/[email protected]

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

Reply via email to