| From: | Jeroen Vermeulen <jtv(at)xs4all(dot)nl> |
|---|---|
| To: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
| Cc: | Magnus Hagander <magnus(at)hagander(dot)net>, Andrew Chernow <ac(at)esilo(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: libpq WSACleanup is not needed |
| Date: | 2009-01-20 16:10:13 |
| Message-ID: | 4975F765.6040306@xs4all.nl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Merlin Moncure wrote:
> I think init/uninit is the answer. While writing libpqtypes, we noted
> that libpq is just plain awkward in a few different ways and probably
> deserves a rewrite at some point. not today though....
Would there be any serious harm in:
1. doing the WSAStartup() when the first connection is opened, but
2. cleaning up from either
2a. some kind of on-unload version of DllMain() if possible, or
2b. an explicit new cleanup function
?
(I know it says you can't set the thing up from DllMain, but does it say
something similar about shutdown?)
Jeroen
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2009-01-20 16:18:20 | Re: FWD: Re: Updated backslash consistency patch |
| Previous Message | Merlin Moncure | 2009-01-20 16:09:51 | Re: is 8.4 array_agg() supposed to work with array values? |