Re: ecpg tests make failed on Win32/MinGW

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: William ZHANG <uniware(at)zedware(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ecpg tests make failed on Win32/MinGW
Date: 2006-08-14 16:31:52
Message-ID: 20060814163152.GA6854@1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Aug 12, 2006 at 12:11:21AM +0800, William ZHANG wrote:
> I have found the cause.
> ...

Thanks a lot for your effort.

In a few minutes I will commit a change that fixed this in my tests
(don't worry about the timestamp of this email, I'm writing while
sitting in a train).

All it does is check for "\r\n" and escape it as one character, i.e.
print "\\\r\n". Please test this is thoroughly as possible. I do not
have a Windows machine to test on, but on my Linux box all
regression tests run successfully no matter which encoding the *.pgc
files have.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-08-14 16:40:25 Re: [Patch] - Fix for bug #2558, InitDB failed to run on windows 2003
Previous Message Peter Eisentraut 2006-08-14 16:21:00 Re: An Idea for planner hints