Re: pulling libpqtypes from queue - Mailing list pgsql-hackers

From Andrew Chernow
Subject Re: pulling libpqtypes from queue
Date
Msg-id 4805070C.1050004@esilo.com
Whole thread Raw
In response to Re: pulling libpqtypes from queue  ("Merlin Moncure" <mmoncure@gmail.com>)
List 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/


pgsql-hackers by date:

Previous
From: Decibel!
Date:
Subject: Re: Commit fest status
Next
From: Zdenek Kotala
Date:
Subject: Re: WIP: Pg_upgrade - page layout converter (PLC) hook