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

From Dmitry Yurtaev
Subject compiling native libpq...
Date
Msg-id 001d01c10a65$98a5c560$0107a8c0@SULACO
Whole thread Raw
In response to Re: initdb failure - postgres hangs with 100% CPU  (Jason Tishler <Jason.Tishler@dothill.com>)
Responses Re: compiling native libpq...
List pgsql-cygwin
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.

/Dmitry



pgsql-cygwin by date:

Previous
From: Kian Parsee
Date:
Subject: Re: PostgreSQL on Win/2K
Next
From: s0lao@netscape.net (S. L.)
Date:
Subject: Re: PostgreSQL on Win/2K