mirror of
https://github.com/postgres/postgres.git
synced 2025-06-06 00:02:36 -04:00
Append -X to direct invocation of psql in new test for BASE_BACKUP
Per buildfarm member wrasse, that looks to open a transaction when it loads its .psqlrc, causing the test to fail. Oversight in ad34146.
This commit is contained in:
parent
ad341469b4
commit
7ff358b76a
@ -538,7 +538,7 @@ my $connstr = $node_primary->connstr('postgres') . " replication=database";
|
|||||||
# a replication command and a SQL command.
|
# a replication command and a SQL command.
|
||||||
$node_primary->command_fails_like(
|
$node_primary->command_fails_like(
|
||||||
[
|
[
|
||||||
'psql', '-c', "SELECT pg_backup_start('backup', true)",
|
'psql', '-X', '-c', "SELECT pg_backup_start('backup', true)",
|
||||||
'-c', 'BASE_BACKUP', '-d', $connstr
|
'-c', 'BASE_BACKUP', '-d', $connstr
|
||||||
],
|
],
|
||||||
qr/a backup is already in progress in this session/,
|
qr/a backup is already in progress in this session/,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user