Re: creating/accessing new runtime parameters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: creating/accessing new runtime parameters
Дата
Msg-id 4230.1064414712@sss.pgh.pa.us
обсуждение исходный текст
Ответ на creating/accessing new runtime parameters  (<brook@biology.nmsu.edu>)
Ответы Re: creating/accessing new runtime parameters  (<brook@biology.nmsu.edu>)
Список pgsql-hackers
<brook@biology.nmsu.edu> writes:
> - How can I introduce a new variable (e.g., XXX) to the system so that
>   for example SET XXX=1 will work?

The basic thing is to add an appropriate table entry to guc.c.  You
might try searching the sources for all references to one of the
lesser-used GUC variables, perhaps default_statistics_target, to get
a feeling for what's involved.
        regards, tom lane


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

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: pg_dump doesn't dump binary compatible casts
Следующее
От: "Gottfried F. Zojer"
Дата:
Сообщение: