Re: Multiple databases on seperate drives/file systems?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Multiple databases on seperate drives/file systems?
Дата
Msg-id 21429.1086794876@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Multiple databases on seperate drives/file systems?  (jseymour@linxnet.com (Jim Seymour))
Список pgsql-general
"Scot L. Harris" <webid@cfl.rr.com> writes:
> The startup script in /etc/init.d does have the su  line as you describe
> above.  On RH8 it appears that /bin/sh is linked to /bin/bash.  So does
> the shell being executed not look at the .bash_profile since it was
> invoked as /bin/sh?

Not sure; you could probably find out with some study of its man page.
Seems likely though, else you'd not be here complaining ;-)

> Or can I just put the PGDATA2 environment variable in a .profile file?

That would be an alternative answer.  Be aware though that future RH
releases will remove the -s switch, so eventually you'll want to do
it that way.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Prevent users from creating tables
Следующее
От: "Scot L. Harris"
Дата:
Сообщение: Re: Multiple databases on seperate drives/file systems?