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

Commit7f5b043

Browse files
committed
pg_upgrade: Fix for changed pg_ctl default stop mode
In 9.5, the default pg_ctl stop mode was changed from "smart" to "fast".pg_upgrade still thought the default mode was "smart" and only specifiedthe mode when "fast" was asked for. This results in using "fast" allthe time. It's not clear what the effect in practice is, but fix itnonetheless to restore the previous behavior.
1 parent0563a3a commit7f5b043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_upgrade/server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ stop_postmaster(bool fast)
320320
"\"%s/pg_ctl\" -w -D \"%s\" -o \"%s\" %s stop",
321321
cluster->bindir,cluster->pgconfig,
322322
cluster->pgopts ?cluster->pgopts :"",
323-
fast ?"-m fast" :"");
323+
fast ?"-m fast" :"-m smart");
324324

325325
os_info.running_cluster=NULL;
326326
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp