Re: Advice regarding configuration parameters

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Advice regarding configuration parameters
Дата
Msg-id 4023C9DF.9060404@joeconway.com
обсуждение исходный текст
Ответ на Re: Advice regarding configuration parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Advice regarding configuration parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>>Am Freitag, 6. Februar 2004 10:27 schrieb Thomas Hallgren:
>>>1. Something similar to postgresql.conf (it's not extendable though, is
>>>it?)
> 
>>No, it is not.
> 
> In principle it could be --- the mechanisms already exist in guc.c to
> permit outside agents to add variables.  The difficulty in having a PL
> handler add such variables is that there is no good way to get the
> handler to run before postgresql.conf is scanned for the first time,
> and if it isn't then GUC will error out on the "unknown" variable name.

I had started down this road about a year ago (i.e. had a partial 
patch), for exactly the same reason Thomas is interested -- I wanted it 
for PL/R. But the consensus at the time seemed to be that it wouldn't be 
accepted so I gave up on it. I still think it is a good idea and that 
the difficulties can be worked out.

Joe



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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: [pgsql-hackers-win32] Sync vs. fsync during checkpoint
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Advice regarding configuration parameters