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

Commitb33259e

Browse files
committed
Add -w back to the flags for pg_ctl (re)start in PostgresNode
This is now the default for pg_ctl, but having the flag here explicitlydoes no harm and helps with backwards compatibility of the PostgresNodemodule.
1 parent15c6ede commitb33259e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎src/test/perl/PostgresNode.pm

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,9 @@ sub start
805805

806806
# Note: We set the cluster_name here, not in postgresql.conf (in
807807
# sub init) so that it does not get copied to standbys.
808-
$ret = TestLib::system_log('pg_ctl','-D',$self->data_dir,'-l',
808+
# -w is now the default but having it here does no harm and helps
809+
# compatibility with older versions.
810+
$ret = TestLib::system_log('pg_ctl','-w','-D',$self->data_dir,'-l',
809811
$self->logfile,'-o',"--cluster-name=$name",'start');
810812

811813
if ($ret != 0)
@@ -919,7 +921,9 @@ sub restart
919921

920922
print"### Restarting node\"$name\"\n";
921923

922-
TestLib::system_or_bail('pg_ctl','-D',$pgdata,'-l',$logfile,
924+
# -w is now the default but having it here does no harm and helps
925+
# compatibility with older versions.
926+
TestLib::system_or_bail('pg_ctl','-w','-D',$pgdata,'-l',$logfile,
923927
'restart');
924928

925929
$self->_update_pid(1);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp