Re: WSAStartup() in libpq

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: WSAStartup() in libpq
Date: 2007-03-08 15:48:12
Message-ID: 7793.1173368892@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander <magnus(at)hagander(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-03-08 15:57:30 Re: No buffer space available
Previous Message Magnus Hagander 2007-03-08 15:45:28 Re: WSAStartup() in libpq