Skip to content

Commit e372993

Browse files
Reset vacuum_defer_cleanup_age to PGC_SIGHUP.
Revert commit 84725aa
1 parent 8e2469a commit e372993

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

doc/src/sgml/config.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,8 @@ SET ENABLE_SEQSCAN TO OFF;
19981998
is measured in terms of number of write transactions occurring on the
19991999
primary server, it is difficult to predict just how much additional
20002000
grace time will be made available to standby queries.
2001-
This parameter can only be set at server start.
2001+
This parameter can only be set in the <filename>postgresql.conf</>
2002+
file or on the server command line.
20022003
</para>
20032004
</listitem>
20042005
</varlistentry>

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1631,12 +1631,7 @@ static struct config_int ConfigureNamesInt[] =
16311631
},
16321632

16331633
{
1634-
/*
1635-
* Setting this to a higher value without restarting postmaster
1636-
* can cause various bugs in TOAST object removal, CLUSTER and
1637-
* possibly other places, so this must be changed only on restart.
1638-
*/
1639-
{"vacuum_defer_cleanup_age", PGC_POSTMASTER, WAL_REPLICATION,
1634+
{"vacuum_defer_cleanup_age", PGC_SIGHUP, WAL_REPLICATION,
16401635
gettext_noop("Number of transactions by which VACUUM and HOT cleanup should be deferred, if any."),
16411636
NULL
16421637
},

0 commit comments

Comments
 (0)