Re: WSAStartup() in libpq - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WSAStartup() in libpq
Date
Msg-id 7793.1173368892@sss.pgh.pa.us
Whole thread Raw
In response to Re: WSAStartup() in libpq  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Thu, Mar 08, 2007 at 10:37:11AM -0500, Tom Lane wrote:
>> Because the calls in DllMain covered us (ie, the WSA usage count never
>> got to be less than one).  If we remove them, we'd better get this pair
>> right.

> But those calls weren't even compiled in when building using mingw,

Hmm ... does make you wonder, doesn't it?  But anyway, if we're
bothering to call the functions at all, we should try to meet the
defined protocol.  So I like this latest version of the patch.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: WSAStartup() in libpq
Next
From: Andrew Dunstan
Date:
Subject: Re: No buffer space available