Re: Relocatable installs

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

Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-05-20 03:50:47 Re: [HACKERS] Configuration patch
Previous Message Marc G. Fournier 2004-05-20 03:18:22 Re: [HACKERS] pgmex, a MATLAB interface for PostgreSQL