mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-05 04:26:57 +02:00
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 these test cases.
This commit is contained in:
parent
ee32782395
commit
fb57f40eec
@ -18,7 +18,7 @@ sub test_sync_state
|
|||||||
|
|
||||||
if (defined($setting))
|
if (defined($setting))
|
||||||
{
|
{
|
||||||
$self->psql('postgres',
|
$self->safe_psql('postgres',
|
||||||
"ALTER SYSTEM SET synchronous_standby_names = '$setting';");
|
"ALTER SYSTEM SET synchronous_standby_names = '$setting';");
|
||||||
$self->reload;
|
$self->reload;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user