| From: | Andrew Chernow <ac(at)esilo(dot)com> |
|---|---|
| To: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, tomas(at)tuxteam(dot)de, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: pulling libpqtypes from queue |
| Date: | 2008-04-15 19:50:36 |
| Message-ID: | 4805070C.1050004@esilo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Merlin Moncure wrote:
>
> Maybe if there was PQinitGlobalHooks so that all PGconn structs
> created would inherit the hooks automatically...this allows per conn
> initialization (if desired) and global initialization which is often
> easier. As I understand this, no locking is required, except the init
> function needs to be called before any real libpq code takes place (in
> threaded environments).
>
> merlin
>
>
That's interesting. I don't see much need for per-conn hooks in regards
to pqtypes, but I can definately see a reason for other object hook
implementations.
--
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zdenek Kotala | 2008-04-15 20:15:18 | Re: WIP: Pg_upgrade - page layout converter (PLC) hook |
| Previous Message | Zdenek Kotala | 2008-04-15 19:36:43 | Re: WIP: Pg_upgrade - page layout converter (PLC) hook |