Re: WSAStartup() in libpq

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WSAStartup() in libpq
Дата
Msg-id 7296.1173366628@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: WSAStartup() in libpq  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: WSAStartup() in libpq  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> So I suggest the following simple patch.. Any objections?

One wonders if we need DllMain() at all any more.  We certainly don't
need that switch statement ...

Also, isn't the WSACleanup() in freePGconn in the wrong place?  Seems
like it shouldn't be done until after we've closed the socket.  I'd
be inclined to put it at the bottom of the routine.
        regards, tom lane


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

Предыдущее
От: "Pavan Deolasee"
Дата:
Сообщение: Re: Bug in VACUUM FULL ?
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: WSAStartup() in libpq