Re: WSAStartup() in libpq - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WSAStartup() in libpq
Date
Msg-id 7296.1173366628@sss.pgh.pa.us
Whole thread Raw
In response to Re: WSAStartup() in libpq  (Magnus Hagander <magnus@hagander.net>)
Responses Re: WSAStartup() in libpq  (Magnus Hagander <magnus@hagander.net>)
List 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 by date:

Previous
From: "Pavan Deolasee"
Date:
Subject: Re: Bug in VACUUM FULL ?
Next
From: Magnus Hagander
Date:
Subject: Re: WSAStartup() in libpq