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.