summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-08-01 09:58:19 +0900
committerMichael Paquier <michael@paquier.xyz>2022-08-01 09:58:19 +0900
commit7ff358b76a106d3950e798a351c0e97d5b5abfe6 (patch)
tree4b64c0dc13123efd260cebf7be509fa71e094322
parentad341469b423cda4f0c3c3ed195ca6fa122b0609 (diff)
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.
-rw-r--r--src/test/recovery/t/001_stream_rep.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/recovery/t/001_stream_rep.pl b/src/test/recovery/t/001_stream_rep.pl
index b15dd6b29a7..986147b7300 100644
--- a/src/test/recovery/t/001_stream_rep.pl
+++ b/src/test/recovery/t/001_stream_rep.pl
@@ -538,7 +538,7 @@ my $connstr = $node_primary->connstr('postgres') . " replication=database";
# a replication command and a SQL command.
$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
],
qr/a backup is already in progress in this session/,