Re: accessing postgres conf from stored procedure - Mailing list pgsql-hackers

From Michael Fuhr
Subject Re: accessing postgres conf from stored procedure
Date
Msg-id 20050627145258.GA95400@winnie.fuhr.org
Whole thread Raw
In response to Re: accessing postgres conf from stored procedure  (strk <strk@keybit.net>)
List 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/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Questions on extending a relation
Next
From: Bruno Wolff III
Date:
Subject: Re: Fixing r-tree semantics