Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1df2b50

Browse files
committed
Try to unbreak 021_row_visibility.pl on mingw.
Thanks to Andrew for proposing and testing this fix.It's possible that we should address this on a more fundamental basis,e.g. by configuring PerlIO to to CR/LF conversion for us, but thisapproach already exists in other places. And it's nice to unbreak theBF.Proposed-By: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>Discussion:https://postgr.es/m/2355d1f0-0244-da9c-ef0c-7542b944e1ac@2ndQuadrant.com
1 parent32a9c0b commit1df2b50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/test/recovery/t/021_row_visibility.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use PostgresNode;
77
use TestLib;
88
use Test::Moretests=> 10;
9+
use Config;
910

1011
# Initialize primary node
1112
my$node_primary = get_new_node('primary');
@@ -167,6 +168,9 @@ sub send_query_and_wait
167168
$$psql{run}->pump_nb();
168169
while (1)
169170
{
171+
# See PostgresNode.pm's psql()
172+
$$psql{stdout} =~s/\r\n/\n/gif$Config{osname}eq'msys';
173+
170174
lastif$$psql{stdout} =~/$untl/;
171175

172176
if ($psql_timeout->is_expired)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp