Re: location of the configuration files - Mailing list pgsql-hackers

From Curt Sampson
Subject Re: location of the configuration files
Date
Msg-id Pine.NEB.4.51.0302132315170.7433@angelic-vtfw.cvpn.cynic.net
Whole thread Raw
In response to Re: location of the configuration files  (Christopher Browne <cbbrowne@acm.org>)
Responses Re: location of the configuration files
List pgsql-hackers
On Thu, 13 Feb 2003, Christopher Browne wrote:

> 1.  It assumes that there is "a location" for "the configuration files
>     for /the single database instance./"

No; it assumes that there's a location for "the default instance." If
you have more than one, you could have one default and one elsewhere, or
just do what I often do, which is put in an empty config file except for
a comment saying "we have several instances of <xxx> on this machine; look
in <yyy> for them."

> 2.  It assumes I have write access to /etc
>
>     If I'm a Plain Old User, as opposed to root, I may only have
>     read-only access to /etc.

Right. It's dependent on the sysadmin to create /etc/postgres/ and make
it writeable, or set up proper symlinks, or whatever.

Fortunately, the files in /etc are only the defaults, to be used if
they're not overridden on the command line. If you're in a situation
like #2, you're basically stuck where we are now all the time: you have
to just put it somewhere and hope that, if someone else needs to find
it, they can.

cjs
-- 
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.netbsd.org   Don't you know, in this new Dark Age, we're
alllight.  --XTC
 


pgsql-hackers by date:

Previous
From: mlw
Date:
Subject: Re: location of the configuration files
Next
From: Lamar Owen
Date:
Subject: Re: location of the configuration files