1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

Mark vacuum_defer_cleanup_age as PGC_POSTMASTER.

Following bug analysis of #7819 by Tom Lane
This commit is contained in:
Simon Riggs
2013-02-02 18:50:42 +00:00
parent 231dbb3c9b
commit 9dd9993370
2 changed files with 7 additions and 3 deletions

View File

@ -1880,7 +1880,12 @@ static struct config_int ConfigureNamesInt[] =
},
{
{"vacuum_defer_cleanup_age", PGC_SIGHUP, REPLICATION_MASTER,
/*
* Setting this to a higher value without restarting postmaster
* can cause various bugs in TOAST object removal, CLUSTER and
* possibly other places, so this must be changed only on restart.
*/
{"vacuum_defer_cleanup_age", PGC_POSTMASTER, REPLICATION_MASTER,
gettext_noop("Number of transactions by which VACUUM and HOT cleanup should be deferred, if any."),
NULL
},