Re: PostgreSQL configuration - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PostgreSQL configuration
Date
Msg-id 750.1081919502@sss.pgh.pa.us
Whole thread Raw
In response to Re: PostgreSQL configuration  (Robert Treat <xzilla@users.sourceforge.net>)
Responses Re: PostgreSQL configuration
List pgsql-hackers
Robert Treat <xzilla@users.sourceforge.net> writes:
> On Tuesday 13 April 2004 01:14, Kevin Brown wrote:
>> To be honest, I think the use of the PG_DATA environment variable is the
>> biggest impediment to "self documentation" - the postmaster should not
>> use it.

> I think this is another vote for "store the PGDATA dir value inside a running
> postgresql" so you can query the running database to find out what datafiles 
> it is using.

I agree --- we could answer this by adding some readout capability
(think "show datadir") rather than by taking away functionality.
Personally I rely quite a lot on setting PGDATA to keep straight which
installation I'm currently working with, so I'm not going to be happy
with a redesign that eliminates that variable without providing an
adequate substitute :-(
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Remove MySQL Tools from Source?
Next
From: Fabien COELHO
Date:
Subject: Re: Lexing with different charsets