Marc G. Fournier wrote:
> > However, right now, if you try to move /usr/local/pgsql to /var/pgsql,
> > the database will not work because there are hard-coded directory
> > dependencies in the binaries:
> >
> > initdb has to find its *.bki files in /share
> > initdb has to find the postgres binary in /bin
> > pg_dumpall has to find pg_dump
> > postgres has to find shared objects the /lib
> > Win32 postgres has to find /share/timezone
> >
> > Maybe there are more.
>
> Is there a reason why we can't use a PGSQL_PREFIX ENV variable or
> something like that? If not defined, use compiled in default?
Win32 isn't going to be able to define that. Also, why not make it
relocatable by default? We already know where the binary is.
-- 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