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

Commitd67b0bf

Browse files
committed
In pg_upgrade, add C comment about how autovacuum is disabled.
1 parent6c0dfc0 commitd67b0bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎contrib/pg_upgrade/server.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,11 @@ start_postmaster(ClusterInfo *cluster, bool quiet)
169169
* same file because we get the error: "The process cannot access the file
170170
* because it is being used by another process." so we have to send all
171171
* other output to 'nul'.
172-
*/
172+
*
173+
* Using autovacuum=off disables cleanup vacuum and analyze, but
174+
* freeze vacuums can still happen, so we set
175+
* autovacuum_freeze_max_age high too.
176+
*/
173177
snprintf(cmd,sizeof(cmd),
174178
SYSTEMQUOTE"\"%s/pg_ctl\" -l \"%s\" -D \"%s\" "
175179
"-o \"-p %d -c autovacuum=off "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp