include_dir catch-22

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема include_dir catch-22
Дата
Msg-id 53A13FFE.6000607@2ndquadrant.com
обсуждение исходный текст
Ответы Re: include_dir catch-22
Список pgsql-hackers
There is, IMO, a significant oversight with the include_dir feature.

If a distributor wants to enable it by default at initdb time, they
can't just turn it on in postgresql.conf.sample, because initdb will die
when the postgres backend refuses to start because the configdir is missing.

Yet the configdir cannot exist, or initdb will refuse to run.

IMO we should just treat the configdir as implicitly if_exists, but
otherwise, there needs to be a separate if_exists option.

I'll gladly submit a patch to fix this for 9.4, I just want an opinion
on which way to go first.

("initdb then 'sed' the config file afterwards" is not an answer)

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Built-in support for a memory consumption ulimit?
Следующее
От: Haribabu Kommi
Дата:
Сообщение: Re: [REVIEW] Re: Re: BUG #9578: Undocumented behaviour for temp tables created inside query language (SQL) functions