Skip to content

Commit 7ff358b

Browse files
committed
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.
1 parent ad34146 commit 7ff358b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/recovery/t/001_stream_rep.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ sub replay_check
538538
# a replication command and a SQL command.
539539
$node_primary->command_fails_like(
540540
[
541-
'psql', '-c', "SELECT pg_backup_start('backup', true)",
541+
'psql', '-X', '-c', "SELECT pg_backup_start('backup', true)",
542542
'-c', 'BASE_BACKUP', '-d', $connstr
543543
],
544544
qr/a backup is already in progress in this session/,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy