Re: libpq WSACleanup is not needed

Поиск
Список
Период
Сортировка
От Andrew Chernow
Тема Re: libpq WSACleanup is not needed
Дата
Msg-id 4974A9C0.9060600@esilo.com
обсуждение исходный текст
Ответ на Re: libpq WSACleanup is not needed  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander wrote:
> Andrew Chernow wrote:
>> James Mansion wrote:
>>> Is there a need for a new API to control this - can't you just
>>> interpret another parameter keyword
>>> in PQconnectdb (or the pgoptions string in PQsetdbLogin I guess)?  
>> That's an interesting idea.  I don't know if its the correct place to
>> control this, but it does allow turning off wsastartup and indicating
>> which winsock version to load.
> 
>>From a design perspective it seems like the wrong place to put it if you
> think of it as a general initialization. From the narrow perspective of
> wsastartup, it could work to add an option to inhibit it. But will it
> "scale" to future needs?
> 
> //Magnus
> 
> 

yeah, it might be a stretch.  It also ignores the other needs for a 
library init().

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: Review: B-Tree emulation for GIN
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Review: B-Tree emulation for GIN