Re: Relocatable installs

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Marc Slemko <marcs(at)znep(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Relocatable installs
Date: 2004-05-09 14:43:31
Message-ID: 200405091643.31570.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2004-05-09 14:59:31 Re: Nested transactions
Previous Message Tom Lane 2004-05-09 14:22:14 Re: Relocatable installs