]> granicus.if.org Git - postgresql/commitdiff
Reset vacuum_defer_cleanup_age to PGC_SIGHUP.
authorSimon Riggs <simon@2ndQuadrant.com>
Mon, 4 Feb 2013 16:41:37 +0000 (16:41 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Mon, 4 Feb 2013 16:41:37 +0000 (16:41 +0000)
Revert commit 84725aa5efe11688633b553e58113efce4181f2e

doc/src/sgml/config.sgml
src/backend/utils/misc/guc.c

index 79e438ca01cbfce5add3dd988cd26eb6c43fd3a6..a31130810083a57cec6b2a478997ab98eca82d33 100644 (file)
@@ -2288,7 +2288,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>
        <para>
         You should also consider setting <varname>hot_standby_feedback</>
index 25722fac68d02e4155030e631e41ae95a52c7efc..c37c1d9a5fb42c1b4c19b7cf54718f751b695633 100644 (file)
@@ -1880,12 +1880,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, REPLICATION_MASTER,
+               {"vacuum_defer_cleanup_age", PGC_SIGHUP, REPLICATION_MASTER,
                        gettext_noop("Number of transactions by which VACUUM and HOT cleanup should be deferred, if any."),
                        NULL
                },