summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Riggs2013-02-04 16:44:01 +0000
committerSimon Riggs2013-02-04 16:44:01 +0000
commite3729932ebc4ed4ab2a9278fc8bb162c1f25fa73 (patch)
treeb69e47eff0f6bde25744934f19f4db2a7bdd42ea
parent8e2469a02d59d1c506a20e957da8a02c222a53e8 (diff)
Reset vacuum_defer_cleanup_age to PGC_SIGHUP.
Revert commit 84725aa5efe11688633b553e58113efce4181f2e
-rw-r--r--doc/src/sgml/config.sgml3
-rw-r--r--src/backend/utils/misc/guc.c7
2 files changed, 3 insertions, 7 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 59a48cf3f0a..c1a90d1fba9 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -1998,7 +1998,8 @@ SET ENABLE_SEQSCAN TO OFF;
is measured in terms of number of write transactions occurring on the
primary server, it is difficult to predict just how much additional
grace time will be made available to standby queries.
- This parameter can only be set at server start.
+ This parameter can only be set in the <filename>postgresql.conf</>
+ file or on the server command line.
</para>
</listitem>
</varlistentry>
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 92ea02a5071..2483587fa3f 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -1631,12 +1631,7 @@ static struct config_int ConfigureNamesInt[] =
},
{
- /*
- * 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,
+ {"vacuum_defer_cleanup_age", PGC_SIGHUP, WAL_REPLICATION,
gettext_noop("Number of transactions by which VACUUM and HOT cleanup should be deferred, if any."),
NULL
},