Re: accessing postgres conf from stored procedure

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: accessing postgres conf from stored procedure
Дата
Msg-id 20050627145258.GA95400@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: accessing postgres conf from stored procedure  (strk <strk@keybit.net>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Questions on extending a relation
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Fixing r-tree semantics