Re: Fixed directory locations in installs - Mailing list pgsql-hackers

From Claudio Natoli
Subject Re: Fixed directory locations in installs
Date
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F43A@harris.memetrics.local
Whole thread Raw
In response to Fixed directory locations in installs  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Andrew Dunstan writes:
> How about if we have a configuration flag --enable-relocation which would
> require a fixed layout based on an indeterminate root. This would have the
> following effects:
> 
> . if prefix did not contain 'postgres' or 'pgsql' then 
> 'postgresql' would be appended.
> . all *dir configure options would be forbidden - they would 
> be based on the prefix as now, and since it would contain 'postgres' the 
> simple layout we want would be used.
> . binaries would have a DEFINE which would mean they would know they
> should look for other binaries and shared files in locations which are
> fixed relative to their own location rather than in the hardcoded
> locations.

Looks good to me. Others?

Cheers,
Claudio

--- 
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see 
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: ANALYZE locks pg_listener in EXCLUSIVE for long
Next
From: Alvaro Herrera
Date:
Subject: Re: ANALYZE locks pg_listener in EXCLUSIVE for long time?