From 5b8eb2b4b95ac4b016368ce6ca2c3477387e7fc7 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 15 Aug 2008 08:37:41 +0000 Subject: Make the temporary directory for pgstat files configurable by the GUC variable stats_temp_directory, instead of requiring the admin to mount/symlink the pg_stat_tmp directory manually. For now the config variable is PGC_POSTMASTER. Room for further improvment that would allow it to be changed on-the-fly. --- src/backend/utils/misc/postgresql.conf.sample | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/utils/misc/postgresql.conf.sample') diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 552d856ae29..063d3ec1c4a 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -366,6 +366,7 @@ #track_functions = none # none, pl, all #track_activity_query_size = 1024 #update_process_title = on +#stats_temp_directory = 'pg_stat_tmp' # - Statistics Monitoring - -- cgit v1.2.3