Re: Parsing config files in a directory

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Parsing config files in a directory
Дата
Msg-id 407d949e0910281056v1defc2a7ya9cdd922e27ac732@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Parsing config files in a directory  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-hackers
On Wed, Oct 28, 2009 at 10:28 AM, Greg Smith <gsmith@gregsmith.com> wrote:
> The postgresql.conf file being modified is generated by initdb, and it's
> already being customized per install by the initdb-time rules like detection
> for maximum supported shared_buffers. It isn't one of the files installed by
> the package manager where the logic you're describing kicks in.  The
> conflict case would show up, to use a RHEL example, if I edited a
> /etc/sysconfig/postgresql file and then a changed version of that file
> appeared upstream.  Stuff in PGDATA is all yours and not tracked as a config
> file.

Well putting configuration files in PGDATA is itself a packaging
violation. I'm talking about /etc/postgresql.conf. Yes it's possible
for packages to simply opt out of the configuration file management
which at least means they're not actively causing problems -- but it's
a cheat, it means it's giving up on providing the user with useful
upgrades of configuration files.

--
greg


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

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