Re: Parsing config files in a directory - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Parsing config files in a directory
Date
Msg-id 407d949e0910281056v1defc2a7ya9cdd922e27ac732@mail.gmail.com
Whole thread Raw
In response to Re: Parsing config files in a directory  (Greg Smith <gsmith@gregsmith.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Parsing config files in a directory
Next
From: Josh Berkus
Date:
Subject: Re: Parsing config files in a directory