Re: Alternate database locations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Alternate database locations
Дата
Msg-id 24191.1014093667@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Alternate database locations  (Rich Shepard <rshepard@appl-ecosys.com>)
Ответы Re: Alternate database locations
Список pgsql-general
Rich Shepard <rshepard@appl-ecosys.com> writes:
>   Next I changed the environment variable, PGDATA2, to
> /opt/paisley/acctdata/ in postgres's and my ~/.bash_profile, restarted the
> postmaster and got the same error message: createdb failed because the
> postmaster doesn't understand PGDATA2.

Simply changing your .profile doesn't change the environment of your
running shell.  Did you log out/back in?  Or manually do
export PGDATA2=xxx
?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PL/pgsql UPDATE status
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Alternate database locations