Re: Newbie struggling to set $PGDATA

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Newbie struggling to set $PGDATA
Дата
Msg-id 29508.988217448@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Newbie struggling to set $PGDATA  (Geoff Caplan <geoff@productivity.co.uk>)
Список pgsql-general
Geoff Caplan <geoff@productivity.co.uk> writes:
> I have tried setting it in my bash /etc/profile configuration file,
> and it shows up ok if I "echo $PGDATA" in the shell. But none of the
> postgres utilities such as "initdb" seem to be able to find it.

You probably forgot to say "export PGDATA"; without that it's just a
local variable in your shell.

            regards, tom lane

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Joined table view - multiple delete action rule
Следующее
От: Tom Lane
Дата:
Сообщение: Re: I can not create Index on a feild by type 'timestmp'!