Re: WAL file location - Mailing list pgsql-hackers

From Curt Sampson
Subject Re: WAL file location
Date
Msg-id Pine.NEB.4.44.0208011207110.539-100000@angelic.cynic.net
Whole thread Raw
In response to Re: WAL file location  (Andrew Sullivan <andrew@libertyrms.info>)
Responses Re: WAL file location
List pgsql-hackers
On Wed, 31 Jul 2002, Andrew Sullivan wrote:

> Ok, how then would one set the location of the config file?

Option on the command line. Works for lots of different servers out
there already (BIND, apache, etc.).

Whether we also want to emulate them using a compiled-in default if the
command line option is not specified, I don't know. I would tend to
prefer not, because that might change from system to system, and also
if someone leaves the "default" config file around but isn't using it,
you can accidently start up postgres with the wrong config. But I won't
argue that point heavily.

I hate environment variables for servers because the environment
changes, is hard to detect on some systems (ps always shows you the
command line unless you muck with it), etc.

> And I presume this is all for the server only, right?  Nobody is
> talking about getting rid of (for instance) $PGPORT for clients,
> right?

I'm certainly not wanting to get rid of it on the client. I won't go
into the reasons unless anybody really cares....

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: "Marc G. Fournier"
Date:
Subject: Re: Open 7.3 items
Next
From: Curt Sampson
Date:
Subject: Re: WAL file location