Re: libpq WSACleanup is not needed - Mailing list pgsql-hackers

From Andrew Chernow
Subject Re: libpq WSACleanup is not needed
Date
Msg-id 4975FDA8.8040202@esilo.com
Whole thread Raw
In response to Re: libpq WSACleanup is not needed  (Andrew Chernow <ac@esilo.com>)
Responses Re: libpq WSACleanup is not needed  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Chernow wrote:
> Bruce Momjian wrote:
>>
>> Ah, OK, so it does its own cleanup on last close, great. I agree a
>> connection option for this would be good.
>>
> 
> What would the option be?  "wsainit = [enable | disable]"?  Maybe it 
> should allow setting the version to load: "wsa_version = 2.0".  Maybe 
> the two should be combined: "wsa_version = [default | disable | 2.0]".
> 

I will say, the cleanest solution is still an optional init()/uninit() 
for libpq.  Has this been ruled out?  IMHO, the next best solution is a 
connection option.

-- 
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/


pgsql-hackers by date:

Previous
From: Andrew Chernow
Date:
Subject: Re: libpq WSACleanup is not needed
Next
From: Bruce Momjian
Date:
Subject: Re: libpq WSACleanup is not needed