Re: location of the configuration files

Поиск
Список
Период
Сортировка
Искать
От
Kevin Brown
Тема
Re: location of the configuration files
Дата
Msg-id
20030212064300.GD1833@filer
Ответ на
Список
Дерево обсуждения
Re: location of the configuration files Christopher Browne <cbbrowne@acm.org>
Re: location of the configuration files Oliver Elphick <olly@lfix.co.uk>
Re: location of the configuration files Lamar Owen <lamar.owen@wgcr.org>
Re: location of the configuration files Curt Sampson <cjs@cynic.net>
Re: location of the configuration files "Nigel J. Andrews" <nandrews@investsystems.co.uk>
Re: location of the configuration files Bruno Wolff III <bruno@wolff.to>
mlw wrote:
> AFAIK it wasn't actually done. It was more of a, "we should do something 
> different" argument. At one point it was talked about rewriting the 
> configuration system to allow "include" and other things.

That seems like extreme overkill.  The PostgreSQL configuration
mechanism doesn't seem to me to be anywhere near complicated enough to
justify an "include" mechanism.

I agree with you: you should be able to specify all of the base
configuration information (including the location of the data
directories) in one file, and it makes perfect sense to me for the
location of the data directory to be a GUC variable.

I'd say the only thing the postmaster needs to know prior to startup
is the directory containing the postgresql.conf file.  An
administrator who wishes to set up multiple independent databases can
easily do so by using multiple config file directories.  When
consistency is required, he can easily use symlinks to point to master
config files where appropriate.


I assume $PGDATA was around long before GUC?


-- 
Kevin Brown					      kevin@sysexperts.com

В списке pgsql-hackers по дате отправления
От: Curt Sampson
Дата:
От: Dann Corbit
Дата:
FAQ