Content-Length: 261975 | pFad | http://github.com/postgrespro/postgres/commit/54508209178bc73a497c460bd0ffd1645dceb1a2

E9 Temporarily(?) weaken new pg_createsubscriber test on Windows. · postgrespro/postgres@5450820 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/54508209178bc73a497c460bd0ffd1645dceb1a2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy