R: R: Per-server univocal identifier

From: "Giampaolo Tomassoni" <g(dot)tomassoni(at)libero(dot)it>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: R: R: Per-server univocal identifier
Date: 2006-06-19 13:41:02
Message-ID: NBBBIHMOBLOHKCGIMJMDCEKHFHAA.g.tomassoni@libero.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2006-06-19 13:44:44 Re: regresssion script hole
Previous Message Stefan Kaltenbrunner 2006-06-19 13:39:58 Re: regresssion script hole