Tom Lane wrote: > Peter Eisentraut <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match