Re: Configurable path to look up dynamic libraries - Mailing list pgsql-hackers

From teg@redhat.com (Trond Eivind Glomsrød)
Subject Re: Configurable path to look up dynamic libraries
Date
Msg-id xuyk83iphjz.fsf@halden.devel.redhat.com
Whole thread Raw
In response to Re: Configurable path to look up dynamic libraries  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Configurable path to look up dynamic libraries
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> teg@redhat.com (Trond Eivind Glomsrød) writes:
> > While on the subject of postgresql conf... shouldn't it be in
> > sysconfdir instead of the database directory?
> 
> No.  That would (a) not allow different postmasters to have different
> config files;

You could search in a path... first sysconfdir, then datadir. 

> (b) not allow a person to create an unprivileged
> installation (assuming that sysconfdir is root-owned).

Sysconfdir defaults to $prefix/etc, so that's not a problem.

-- 
Trond Eivind Glomsrød
Red Hat, Inc.


pgsql-hackers by date:

Previous
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: Re: Configurable path to look up dynamic libraries
Next
From: Lamar Owen
Date:
Subject: Re: Configurable path to look up dynamic libraries