diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2013-02-02 18:55:03 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2013-02-02 18:55:03 +0000 |
commit | 59f800d05866ef447e1337bc8f2c9a54063f6eba (patch) | |
tree | 3ce9499cb1d33f4574b863f7abfc756a80835868 /src | |
parent | 275a86bed8a09d372eb8e02966a847f0321aaa32 (diff) |
Mark vacuum_defer_cleanup_age as PGC_POSTMASTER.
Following bug analysis of #7819 by Tom Lane
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/misc/guc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 2483587fa3f..92ea02a5071 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -1631,7 +1631,12 @@ static struct config_int ConfigureNamesInt[] = }, { - {"vacuum_defer_cleanup_age", PGC_SIGHUP, WAL_REPLICATION, + /* + * 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, WAL_REPLICATION, gettext_noop("Number of transactions by which VACUUM and HOT cleanup should be deferred, if any."), NULL }, |