Re: CREATE DATABASE WITH LOCATION

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE DATABASE WITH LOCATION
Дата
Msg-id 3865.1005690128@sss.pgh.pa.us
обсуждение исходный текст
Ответ на CREATE DATABASE WITH LOCATION  ("Glen Parker" <glenebob@nwlink.com>)
Ответы Re: CREATE DATABASE WITH LOCATION  ("Glen Parker" <glenebob@nwlink.com>)
Список pgsql-general
"Glen Parker" <glenebob@nwlink.com> writes:
> having a little problem with the alternate DB location stuff, on redhat
> 7.2/postgres 7.1.3.  'CREATE DATABASE WITH LOCATION 'PGDATA2' claims that
> PGDATA2 environment not set, although i've defined it in .bash_profile (for
> user posgres) and verified that it takes when i 'su -l postgres'.  yes, i
> restarted the postmaster.

Exactly how did you restart the postmaster?

Also, did you remember to "export PGDATA2" from the profile file, not
merely set its value?

            regards, tom lane

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

Предыдущее
От: "John Gray"
Дата:
Сообщение: Re: xml support
Следующее
От: Tom Lane
Дата:
Сообщение: Re: dropdb to a remote host