On Mon, Jun 23, 2014 at 3:00 PM, Florian Weimer <fweimer(a)redhat.com> wrote:
On 06/23/2014 04:23 PM, Pavel Raiskup wrote:
>
> What seems to be better approach is to have real configuration file, such
> one
> for which '$ rpm -qc postgresql-server' would not be quiet. Lets say:
>
> $ cat /etc/postgresql/postgresql
> PGDATA=/some/other/place/than/default
I think for Fedora, the file ought to be in /etc/sysconfig.
The packages from
yum.postgresql.org leverage
/etc/sysconfig/pgsql/postgresql-VERSION. Theirs also leverages PGOPTS
so one can set additional CLI options, say if you want to place your
config files outside PGDATA with "-c
config_file=/etc/postgresql/postgresql.conf".
> Would you see something bad on that approach (please, take into
account
> that
> we would not stop supporting the old way, we just want to make future
> configuration easier and straight-forward).
It would be nice to have the option of installing and running multiple
versions in parallel, just as with the Debian packaging. Just saying. :-)
--
Florian Weimer / Red Hat Product Security
--
devel mailing list
devel(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct:
http://fedoraproject.org/code-of-conduct