Re: accessing postgres conf from stored procedure

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Dave Cramer <pg(at)fastcrypt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: accessing postgres conf from stored procedure
Date: 2005-06-27 14:52:58
Message-ID: 20050627145258.GA95400@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 27, 2005 at 04:37:11PM +0200, strk wrote:
> On Mon, Jun 27, 2005 at 08:55:50AM -0400, Dave Cramer wrote:
> > you can use show xxx to show configuration values
> >
> > http://www.postgresql.org/docs/7.4/interactive/sql-show.html
>
> No direct interface for shared libs ?

I don't know if it's fair game, but GetConfigOptionByName() (declared
in utils/guc.h) appears to work. Can any of the developers comment
on whether it's appropriate for user-defined code to call this
function?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2005-06-27 14:57:51 Re: Fixing r-tree semantics
Previous Message Tom Lane 2005-06-27 14:44:41 Re: Questions on extending a relation