Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit84725aa

Browse files
Mark vacuum_defer_cleanup_age as PGC_POSTMASTER.
Following bug analysis of #7819 by Tom Lane
1 parente8ae019 commit84725aa

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,8 +2356,7 @@ include 'filename'
23562356
is measured in terms of number of write transactions occurring on the
23572357
primary server, it is difficult to predict just how much additional
23582358
grace time will be made available to standby queries.
2359-
This parameter can only be set in the <filename>postgresql.conf</>
2360-
file or on the server command line.
2359+
This parameter can only be set at server start.
23612360
</para>
23622361
<para>
23632362
You should also consider setting <varname>hot_standby_feedback</>

‎src/backend/utils/misc/guc.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,12 @@ static struct config_int ConfigureNamesInt[] =
18811881
},
18821882

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp