Re: Configurable path to look up dynamic libraries

From: teg(at)redhat(dot)com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=)
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Configurable path to look up dynamic libraries
Date: 2001-05-15 18:56:32
Message-ID: xuyk83iphjz.fsf@halden.devel.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> teg(at)redhat(dot)com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=) 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 2001-05-15 18:56:46 Re: Configurable path to look up dynamic libraries
Previous Message Tom Lane 2001-05-15 18:49:48 Re: Configurable path to look up dynamic libraries