compiling native libpq...

From: "Dmitry Yurtaev" <dmitry(at)channel4(dot)ru>
To: <pgsql-cygwin(at)postgresql(dot)org>
Cc: "Jason Tishler" <Jason(dot)Tishler(at)dothill(dot)com>
Subject: compiling native libpq...
Date: 2001-07-11 23:59:58
Message-ID: 001d01c10a65$98a5c560$0107a8c0@SULACO
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

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.

/Dmitry

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message S. L. 2001-07-12 05:40:26 Re: PostgreSQL on Win/2K
Previous Message Kian Parsee 2001-07-11 19:24:04 Re: PostgreSQL on Win/2K