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/