Re: Set arbitrary GUC options during initdb

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Set arbitrary GUC options during initdb
Дата
Msg-id CA+TgmoYjC9TcdtiqBg3GD9VmtOfPu8v_65q_S5gC7VUHNZxjSQ@mail.gmail.com
обсуждение исходный текст
Ответ на Set arbitrary GUC options during initdb  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Jan 25, 2023 at 4:26 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> So this invents an initdb switch "-c NAME=VALUE" just like the
> one that the server itself has long had.

HUGE +1 from me. This will, I think, be extremely convenient in many situations.

> The specified settings
> are applied on the command line of the initial probe calls
> (which happen before we've made any config files), and then they
> are added to postgresql.auto.conf, which causes them to take
> effect for the bootstrap backend runs as well as subsequent
> postmaster starts.

I agree with others that it would seem more natural to edit them in
postgresql.conf itself, but I also think it doesn't matter nearly as
much as getting the feature in some form.

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



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Named Operators
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Set arbitrary GUC options during initdb