Re: A smaller default postgresql.conf

Поиск
Список
Период
Сортировка
От Joshua Drake
Тема Re: A smaller default postgresql.conf
Дата
Msg-id 20080819204015.337a2caa@jd-laptop
обсуждение исходный текст
Ответ на Re: A smaller default postgresql.conf  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: A smaller default postgresql.conf  (Bruce Momjian <bruce@momjian.us>)
Re: A smaller default postgresql.conf  ("Dave Page" <dpage@pgadmin.org>)
Список pgsql-hackers
On Tue, 19 Aug 2008 23:32:34 -0400
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Bruce Momjian <bruce@momjian.us> writes:
> > On idea is for postgresql.conf to merely include other files:
> >     include 'sharedmem.conf'
> >     include 'compat.conf'
> >     ...
> 
> That would definitely add complexity ... what would it buy in return?

I am not arguing for this but if we went down that route it does buy us
the ability to compartmentalize the entire conf.. so you have:

memory_settings.conf
logging.conf
maintenance.conf

It is a bit of misdirection as people will open one conf to find a
bunch of pointers to others. 

Another option would be to break up the conf like the above but do not
include any of them in the main postgresql.conf (which is how I would
argue it should be done). Thus if you want to modify logging, you
"include" it in the postgresql.conf but you make your adjustments in
logging.conf. 

Sincerely,

Joshua D. Drake


> 
>             regards, tom lane
> 


-- 
The PostgreSQL Company since 1997: http://www.commandprompt.com/ 
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: A smaller default postgresql.conf
Следующее
От: Bruce Momjian
Дата:
Сообщение: age(xid) function bug