| От | Magnus Hagander |
|---|---|
| Тема | Re: libpq WSACleanup is not needed |
| Дата | |
| Msg-id | 4970A4FE.709@hagander.net обсуждение исходный текст |
| Ответ на | Re: libpq WSACleanup is not needed (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Tom Lane wrote: > Alvaro Herrera <alvherre@commandprompt.com> writes: >> Magnus Hagander wrote: >>> If you want to override this behavior today, you can just call >>> WSAStartup() in your application, and it should never happen. Right? > >> Or perhaps use _init() and _fini() or the Win32 equivalents? > > I thought we were already relying on DLL load/unload-time calls > in the Win32 port? Or maybe that was a long time ago and we got > rid of it? I agree with Andrew that that would be a saner place > for this than connection start. We had it, and we removed it because the Win32 API docs say you're not allowed to do it that way because of deadlock risks. //Magnus
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера