Re: creating/accessing new runtime parameters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: creating/accessing new runtime parameters
Дата
Msg-id 11836.1064419073@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: creating/accessing new runtime parameters  (<brook@biology.nmsu.edu>)
Ответы Re: creating/accessing new runtime parameters  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
<brook@biology.nmsu.edu> writes:
> Tom Lane writes:
>>> The basic thing is to add an appropriate table entry to guc.c.

> I take it there is not way to do this dynamically, for example to
> support a dynamically loaded function?

Not at the moment, although IIRC the guc.c data structures are designed
to make it possible to add things on-the-fly.  (There's a pointer table
that's built dynamically, and in theory could contain more entries than
are in the hardcoded tables.)  You'd need to add a routine to actually
add an entry ... and figure out where to call it from ...
        regards, tom lane


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

Предыдущее
От:
Дата:
Сообщение: Re: creating/accessing new runtime parameters
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: creating/accessing new runtime parameters