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

From Tom Lane
Subject Re: libpq WSACleanup is not needed
Date
Msg-id 6255.1232118940@sss.pgh.pa.us
Whole thread Raw
In response to Re: libpq WSACleanup is not needed  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: libpq WSACleanup is not needed  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: developer.postgresql.org rewrite rules broken (was Re: links in buildfarms report are broken)
Next
From: Magnus Hagander
Date:
Subject: Re: libpq WSACleanup is not needed