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

Commitfb57f40

Browse files
committed
Fix 007_sync_rep.pl to notice failures in ALTER SYSTEM SET.
If a test case tried to set an invalid value of synchronous_standby_names,the test script didn't detect that, which seems like a bad idea.Noticed while testing a proposed patch that broke some of thesetest cases.
1 parentee32782 commitfb57f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/recovery/t/007_sync_rep.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ sub test_sync_state
1818

1919
if (defined($setting))
2020
{
21-
$self->psql('postgres',
21+
$self->safe_psql('postgres',
2222
"ALTER SYSTEM SET synchronous_standby_names = '$setting';");
2323
$self->reload;
2424
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp