Re: question about 2 versions and libraries

Поиск
Список
Период
Сортировка
От Tina Messmann
Тема Re: question about 2 versions and libraries
Дата
Msg-id 3CF26640.4060701@xinux.de
обсуждение исходный текст
Ответ на question about 2 versions and libraries  (Tina Messmann <tina.messmann@xinux.de>)
Список pgsql-general
Oliver Elphick wrote:

>On Mon, 2002-05-27 at 14:34, Tina Messmann wrote:
>
>>Oliver Elphick wrote:
>>
>
>No, PGDATA in the environment should override the wrapper.
>
Indeed it does.

>
>
>Best to create a testing script to set up the environment.  Call it
>psql721 and make sure it is in your path:
>
>    #!/bin/sh
>    PGDATA=/usr/local/pgsql/data
>    PGPORT=6543
>    PGHOST=
>    PGLIB=/usr/local/pgs1ql/lib
>    PATH=/usr/local/pgsql/bin:$PATH
>    LD_LIBRARY_PATH=$PGLIB:$LD_LIBRARY_PATH
>    export PGDATA PGPORT PGHOST PGLIB PATH LD_LIBRARY_PATH
>    psql $@
>
>
Great. I have now 2 scripts like the above one, one for 7.1.3. and one
for 7.2.1 to set the appropriate environments before starting psql.

Thanks for your help.
Tina





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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: update db doesnt work
Следующее
От: terry@greatgulfhomes.com
Дата:
Сообщение: Re: update db doesnt work