Re: Relocatable installs

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Relocatable installs
Дата
Msg-id 200405082244.i48Mi9Y29386@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Relocatable installs  ("Marc G. Fournier" <scrappy@postgresql.org>)
Ответы Re: Relocatable installs
Список pgsql-hackers
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
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: elein
Дата:
Сообщение: Adding MERGE to the TODO list (resend with subject)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Adding MERGE to the TODO list (resend with subject)