Re: user defined settings (aka user defined guc variables)

Поиск
Список
Период
Сортировка
От Mike Mascari
Тема Re: user defined settings (aka user defined guc variables)
Дата
Msg-id 00c301c2a6fd$e71a6a80$0102a8c0@mascari.com
обсуждение исходный текст
Ответ на Re: user defined settings (aka user defined guc variables)  (Gavin Sherry <swm@linuxworld.com.au>)
Список pgsql-hackers
----- Original Message -----
From: "Gavin Sherry" <swm@linuxworld.com.au>
To: "Joe Conway" <mail@joeconway.com>


> On Wed, 18 Dec 2002, Joe Conway wrote:
>
> > I've been playing around with making it possible to create user defined guc
> > variables. This has been discussed, at least in passing, before. And it is
> > even anticipated in guc.c as a possible future feature:
> > /*
> >   * Build the sorted array. This is split out so that it could be
> >   * re-executed after startup (eg, we could allow loadable modules to
> >   * add vars, and then we'd need to re-sort).
> >   */
> >
> > It is a feature that would be nice to have, so that, for example, a user
> > defined variable named "my_classpath" could be created to point to the java
> > CLASSPATH needed by a custom C function.
>
> Hmm. Is GUC really the best place for something like that? (not that there
> is any other place :-)).
>
> Gavin

Maybe GUC should be stored in a Berkeley DB? ;-)

Mike Mascari
mascarm@mascari.com





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: user defined settings (aka user defined guc variables)
Следующее
От: Gavin Sherry
Дата:
Сообщение: Re: user defined settings (aka user defined guc variables)