Re: compiling native libpq...

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Dmitry Yurtaev <dmitry(at)channel4(dot)ru>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: compiling native libpq...
Date: 2001-07-12 19:37:26
Message-ID: 20010712153726.B554@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Dmitry,

On Thu, Jul 12, 2001 at 03:59:58AM +0400, Dmitry Yurtaev wrote:
> From: "Jason Tishler" <Jason(dot)Tishler(at)dothill(dot)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(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2001-07-12 20:09:27 Re: PostgreSQL on Win/2K
Previous Message Fred Yankowski 2001-07-12 16:42:08 Re: [ANNOUNCEMENT] Updated: cygrunsrv-0.94-1