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

Commitd609b08

Browse files
committed
Expand comment on how pg_upgrade is turning off autovacuum.
1 parent382fb6a commitd609b08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎contrib/pg_upgrade/server.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ start_postmaster(ClusterInfo *cluster, bool quiet)
172172
*
173173
* Using autovacuum=off disables cleanup vacuum and analyze, but
174174
* freeze vacuums can still happen, so we set
175-
* autovacuum_freeze_max_age high too.
175+
* autovacuum_freeze_max_age very high. We assume all datfrozenxid and
176+
* relfrozen values are less than a gap of 2000000000 from the current
177+
* xid counter, so autovacuum will not touch them.
176178
*/
177179
snprintf(cmd,sizeof(cmd),
178180
SYSTEMQUOTE"\"%s/pg_ctl\" -l \"%s\" -D \"%s\" "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp