projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad34146
)
Append -X to direct invocation of psql in new test for BASE_BACKUP
author
Michael Paquier
Mon, 1 Aug 2022 00:58:19 +0000
(09:58 +0900)
committer
Michael Paquier
Mon, 1 Aug 2022 00:58:19 +0000
(09:58 +0900)
Per buildfarm member wrasse, that looks to open a transaction when it
loads its .psqlrc, causing the test to fail.
Oversight in
ad34146
.
src/test/recovery/t/001_stream_rep.pl
patch
|
blob
|
blame
|
history
diff --git
a/src/test/recovery/t/001_stream_rep.pl
b/src/test/recovery/t/001_stream_rep.pl
index b15dd6b29a7ab9fe135e87a4ee482cc055d41550..986147b7300337c6eb5ad03607a04759475550d6 100644
(file)
--- 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/,