Re: ALTER SYSTEM SET command to change postgresql.conf parameters

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: ALTER SYSTEM SET command to change postgresql.conf parameters
Дата
Msg-id CAA-aLv4zw1B-kQ=bGteJP6an5yZsyzo7=uZSZcERtO=18s9QBA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ALTER SYSTEM SET command to change postgresql.conf parameters  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 23 December 2013 19:35, Robert Haas <robertmhaas@gmail.com> wrote:
> On Mon, Dec 23, 2013 at 2:19 PM, Thom Brown <thom@linux.com> wrote:
>>> I would think that you'd need to have auto_explain loaded in the
>>> backend where you're trying to make a change, but you shouldn't need
>>> the setting to be present in postgresql.conf, I would think.
>>
>> This appears to be the case.  I hadn't set the library to be loaded in
>> the config.
>>
>> I guess therefore it follows that arbitrary configuration parameters
>> aren't supported (e.g. moo.bark = 5), only pre-defined ones.
>
> Yeah, and that's by design.  Otherwise, it would be too easy to set a
> config parameter to a value that wasn't legal, and therefore make the
> server fail to start.  moo.bark = 5 likely won't cause any problems,
> but auto_explain.log_verbose = fasle could.  By insisting that the
> module providing the GUC be loaded, we can sanity-check the value at
> the time it gets set.

Alles klar. :)

-- 
Thom



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: ALTER SYSTEM SET command to change postgresql.conf parameters
Следующее
От: Noah Misch
Дата:
Сообщение: Re: ERROR during end-of-xact/FATAL