Re: Configuration Parameter/GUC value validation hook

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Configuration Parameter/GUC value validation hook
Дата
Msg-id CA+TgmoZRMv7+N+UoWvx8y84LGGjAg9LWVMFHdfoM0Byt-8YR0w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Configuration Parameter/GUC value validation hook  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
On Wed, May 4, 2022 at 7:12 AM Bharath Rupireddy
<bharath.rupireddyforpostgres@gmail.com> wrote:
> Thanks Tom and Robert for your responses.
>
> How about we provide a sample extension (limiting some important
> parameters say shared_buffers, work_mem and so on to some
> "reasonable/recommended" limits) in the core along with the
> set_config_option_hook? This way, all the people using open source
> postgres out-of-the-box will benefit and whoever wants, can modify
> that sample extension to suit their needs. The sampe extension can
> also serve as an example to implement set_config_option_hook.
>
> Thoughts?

Well, it's better than just adding a hook and stopping, but I'm not
really sure that it's as good as what I'd like to have.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: strange slow query - lost lot of time somewhere
Следующее
От: Etsuro Fujita
Дата:
Сообщение: Re: postgres_fdw: commit remote (sub)transactions in parallel during pre-commit