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