1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-18 17:42:25 +03:00

Reset vacuum_defer_cleanup_age to PGC_SIGHUP.

Revert commit 84725aa5ef
This commit is contained in:
Simon Riggs
2013-02-04 16:44:01 +00:00
parent 8e2469a02d
commit e3729932eb
2 changed files with 3 additions and 7 deletions

View File

@ -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>

View File

@ -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
},