Re: Fixed directory locations in installs

From: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
To: 'Andrew Dunstan' <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fixed directory locations in installs
Date: 2004-05-03 13:56:41
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B55F43A@harris.memetrics.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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>

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2004-05-03 13:59:45 Re: ANALYZE locks pg_listener in EXCLUSIVE for long time?
Previous Message Philip Warner 2004-05-03 13:23:18 Re: ANALYZE locks pg_listener in EXCLUSIVE for long