Skip to content

Commit 5450820

Browse files
committed
Temporarily(?) weaken new pg_createsubscriber test on Windows.
Don't include double-quotes (") in the generated database names on Windows. Doing so tickles a bug in older versions of IPC::Run, which fail to quote command line arguments correctly for that platform. Possibly we can revert this after updating affected buildfarm animals. Discussion: https://postgr.es/m/2509767.1719773880@sss.pgh.pa.us
1 parent 35a7b28 commit 5450820

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bin/pg_basebackup/t/040_pg_createsubscriber.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ sub generate_db
2929
}
3030

3131
$dbname .= $suffix;
32+
33+
# Old IPC::Run mis-quotes command line arguments containing '"' on Windows
34+
$dbname =~ tr/\"//d if ($windows_os);
35+
3236
$node->command_ok(
3337
[ 'createdb', $dbname ],
3438
"created database with ASCII characters from $from_char to $to_char");

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