Re: Multiple databases on seperate drives/file systems?

Поиск
Список
Период
Сортировка
От dalgoda@ix.netcom.com (Mike Castle)
Тема Re: Multiple databases on seperate drives/file systems?
Дата
Msg-id 9kc7r1x3pi.ln2@thune.mrc-home.org
обсуждение исходный текст
Ответ на Re: Multiple databases on seperate drives/file systems?  (jseymour@linxnet.com (Jim Seymour))
Список pgsql-general
In article <20754.1086790815@sss.pgh.pa.us>,
Tom Lane  <tgl@sss.pgh.pa.us> wrote:
>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.


Actually, I think it's that bash is broken (well, it is if you ask me, but
not if you ask Chet Ramey).  At least it was circa 2001 when I last looked
at this issue.

I had to ask -l to get my init scripts to work (that is, to source .profile
when started with su - ).

mrc
--
     Mike Castle      dalgoda@ix.netcom.com      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: How to determine field names in a trigger?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Performance problem on RH7.1