Make the temporary directory for pgstat files configurable by the GUC
authorMagnus Hagander <magnus@hagander.net>
Fri, 15 Aug 2008 08:37:41 +0000 (08:37 +0000)
committerMagnus Hagander <magnus@hagander.net>
Fri, 15 Aug 2008 08:37:41 +0000 (08:37 +0000)
commitbc887cfa6db3b42016e14a0ba26db76311620e16
treec7d590b58e3941d4fd488dd7a8b401c01ddec123
parent4b0f6daf8f31c01913e5166a5ac0945695562a3b
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.
doc/src/sgml/config.sgml
doc/src/sgml/monitoring.sgml
src/backend/postmaster/pgstat.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/pgstat.h