Skip site navigation (1) Skip section navigation (2)

Re: Multiple databases on seperate drives/file systems?

From: dalgoda(at)ix(dot)netcom(dot)com (Mike Castle)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Multiple databases on seperate drives/file systems?
Date: 2004-06-29 05:51:37
Message-ID: 9kc7r1x3pi.ln2@thune.mrc-home.org (view raw or flat)
Thread:
Lists: pgsql-general
In article <20754(dot)1086790815(at)sss(dot)pgh(dot)pa(dot)us>,
Tom Lane  <tgl(at)sss(dot)pgh(dot)pa(dot)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(at)ix(dot)netcom(dot)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

In response to

pgsql-general by date

Next:From: Tom LaneDate: 2004-06-29 05:52:24
Subject: Re: Performance problem on RH7.1
Previous:From: Alvaro HerreraDate: 2004-06-29 05:09:47
Subject: Re: How to determine field names in a trigger?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group