Mark vacuum_defer_cleanup_age as PGC_POSTMASTER.
Following bug analysis of #7819 by Tom Lane
This commit is contained in:
parent
275a86bed8
commit
59f800d058
@ -1998,8 +1998,7 @@ SET ENABLE_SEQSCAN TO OFF;
|
|||||||
is measured in terms of number of write transactions occurring on the
|
is measured in terms of number of write transactions occurring on the
|
||||||
primary server, it is difficult to predict just how much additional
|
primary server, it is difficult to predict just how much additional
|
||||||
grace time will be made available to standby queries.
|
grace time will be made available to standby queries.
|
||||||
This parameter can only be set in the <filename>postgresql.conf</>
|
This parameter can only be set at server start.
|
||||||
file or on the server command line.
|
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
@ -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."),
|
gettext_noop("Number of transactions by which VACUUM and HOT cleanup should be deferred, if any."),
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user