8000 Reset vacuum_defer_cleanup_age to PGC_SIGHUP. · danielcode/postgres@b5f6c4d · GitHub
[go: up one dir, main page]

Skip to content

Commit b5f6c4d

Browse files
Reset vacuum_defer_cleanup_age to PGC_SIGHUP.
Revert commit 84725aa
1 parent 0e1bee9 commit b5f6c4d

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
@@ -2288,7 +2288,8 @@ SET ENABLE_SEQSCAN TO OFF;
22882288
is measured in terms of number of write transactions occurring on the
22892289
primary server, it is difficult to predict just how much additional
22902290
grace time will be made available to standby queries.
2291-
This parameter can only be set at server start.
2291+
This parameter can only be set in the <filename>postgresql.conf</>
2292+
file or on the server command line.
22922293
</para>
22932294
<para>
22942295
You should also consider setting <varname>hot_standby_feedback</>

src/backend/utils/misc/guc.c

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

18821882
{
1883-
/*
1884-
* Setting this to a higher value without restarting postmaster
1885-
* can cause various bugs in TOAST object removal, CLUSTER and
1886-
* possibly other places, so this must be changed only on restart.
1887-
*/
1888-
{"vacuum_defer_cleanup_age", PGC_POSTMASTER, REPLICATION_MASTER,
1883+
{"vacuum_defer_cleanup_age", PGC_SIGHUP, REPLICATION_MASTER,
18891884
gettext_noop("Number of transactions by which VACUUM and HOT cleanup should be deferred, if any."),
18901885
NULL
18911886
},

0 commit comments

Comments
 (0)
0