Re: Adding new variables into GUC

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Adding new variables into GUC
Дата
Msg-id AANLkTi=wp0w4Jm-yMibpM+i8WUcT+QO7FidTEN7FU61M@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Adding new variables into GUC  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
2011/2/10 Josh Berkus <josh@agliodbs.com>:
>
>> You basically need the variable, the entry in the appropriate array in
>> guc.c, and some documentation (at least if you'd like anyone else to
>> ever use the code).  Try looking at some past patches that added GUCs
>> similar to yours.
>
> For completeness, it would also be good to add rows to the pg_settings
> system catalog, but that's not necessary for testing.

pg_settings doesn't need to be separately updated.  It's just a view.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: ALTER EXTENSION UPGRADE, v3
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Sync Rep for 2011CF1