Re: Parsing config files in a directory

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Parsing config files in a directory
Дата
Msg-id 20091026144841.GG8812@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Parsing config files in a directory  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Parsing config files in a directory
Re: Parsing config files in a directory
Список pgsql-hackers
Tom Lane escribió:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > Tom Lane escribi�:
> >> Personally I think this is just a matter of usage.  If you want to use
> >> SET PERSISTENT, don't set values manually in postgresql.conf.
> 
> > I agree, except that some things are defined in postgresql.conf by
> > initdb and you probably want to be able to change them by SET PERSISTENT
> > anyway (e.g. lc_messages, listen_addresses, shared_buffers)
> 
> Well, initdb would also find it a lot easier to dump its settings into a
> machine-generated file.  I don't think we have to continue doing things
> exactly the same way there.

Hmm, so it would create a "00initdb.conf" file instead of the current
mess with search & replace on the template?  That sounds good.

(But to me this also says that SET PERSISTENT has to go over
00initdb.conf and add a comment mark to the setting.)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Parsing config files in a directory
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Parsing config files in a directory