Tom Lane wrote:
> Alvaro Herrera <alvhe...@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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to