Re: Multiple databases on seperate drives/file systems?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Multiple databases on seperate drives/file systems?
Дата
Msg-id 20754.1086790815@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Multiple databases on seperate drives/file systems?  ("Scot L. Harris" <webid@cfl.rr.com>)
Ответы Re: Multiple databases on seperate drives/file systems?  ("Scot L. Harris" <webid@cfl.rr.com>)
Список pgsql-general
"Scot L. Harris" <webid@cfl.rr.com> writes:
> Which indicates to me that the PGDATA2 environment variable that is
> defined in the postgres users .bash_profile is not being picked up by
> the postmaster process.

Depends which startup script you are using.  I know that up till
recently the Red Hat init script did

    su -l postgres -s /bin/sh -c "pg_ctl start ..."

and because it forced /bin/sh, anything you might have put in say
~postgres/.bash_profile wouldn't get read.  You can just take out
that -s switch though.

            regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: Re: Prevent users from creating tables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Prevent users from creating tables