Re: compiling native libpq... - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: compiling native libpq...
Date
Msg-id 20010712153726.B554@dothill.com
Whole thread Raw
In response to compiling native libpq...  ("Dmitry Yurtaev" <dmitry@channel4.ru>)
List pgsql-cygwin
Dmitry,

On Thu, Jul 12, 2001 at 03:59:58AM +0400, Dmitry Yurtaev wrote:
> From: "Jason Tishler" <Jason.Tishler@dothill.com>
>
> >> I would like to learn to fish, though rather
> >> than just have the fish so I can make my own libpq.dll for any new
> version
> > If you install MSVS 6.0, then all you need to do is:
> >     $ nmake -f win32.mak
>
> i've tried that some time ago. it worked ok until i tried to fetch large
> text fields. some investigation shown: it appears that recv() and send() do
> not set errno. so pqReadData didn't seen EWOULDBLOCK and complained about
> failed read(). replacing errno with WSAGetLastError() fixed that.

Would you be willing to submit a patch to correct this problem?  I
expect that it would be gladly accepted.

Jason

--
Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

pgsql-cygwin by date:

Previous
From: Fred Yankowski
Date:
Subject: Re: [ANNOUNCEMENT] Updated: cygrunsrv-0.94-1
Next
From: Jason Tishler
Date:
Subject: Re: Gita Press - win98 regression