> Giampaolo,
> 
> On Sun, Jun 18, 2006 at 01:26:21AM +0200, Giampaolo Tomassoni wrote:
> > Or... Can I put a custom variable in pgsql.conf?
> 
> Like that you mean?
> 
> ----
> custom_variable_classes = 'identify'    # list of custom variable 
> classnames
> identify.id = 42
> ----
> 
> 
> 
> template1=# show identify.id;
>  identify.id
> -------------
>  42
> 
> 
> However pg_settings does not contain variable classes so it can 
> be difficult
> to actually use this value. I wonder if this is a bug or a feature?

Yes, that would be fine. It doesn't work to me, anyway. I guess the problem is 
that the setting shall be associated to a postgres module, which have to be 
responsible for the proper handing of the setting itself. Without an associated 
module, the setting is not available under the postgres env.


> 
> 
> Joachim
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faq


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to