Re: Relocatable installs - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Relocatable installs
Date
Msg-id 200405091643.31570.peter_e@gmx.net
Whole thread Raw
In response to Re: Relocatable installs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Relocatable installs
List pgsql-hackers
Tom Lane wrote:
> The thing I like about the relative-path idea is that it actually
> improves and extends our existing ability to support multiple
> installs.  I wonder whether we could even allow PGDATA to default
> to a relative path (../data)?

Doesn't work very well when you install into /usr/bin ...

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.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Relocatable installs
Next
From: Alvaro Herrera
Date:
Subject: Re: Nested transactions