Re: Relocatable installs - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Relocatable installs
Date
Msg-id 200405200325.i4K3PbQ25774@candle.pha.pa.us
Whole thread Raw
In response to Re: Relocatable installs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > If we determine the default data directory off the configure option 
> > --localstatedir then we can simply use the same mechanisms that have 
> > been discussed for determining all the other directories at run time 
> > relative to the binaries.
> 
> Agreed, we could let the default location of PGDATA work that way.
> We still need the -D runtime option, since (unlike libdir and sharedir)
> there could be multiple datadirs being run by a single set of install
> files.

Has there been any more thought on this?  Do folks want PGDATA/-D to
default to the relocatable ../data, but it can be overridden?  Also, if
you specify a data dir during configure, that is used instead.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Call for 7.5 feature completion
Next
From: Tom Lane
Date:
Subject: Re: Subtle pg_dump problem...