Re: Alternate data location, again

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Alternate data location, again
Date: 2002-02-19 20:27:52
Message-ID: 15372.1014150472@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rich Shepard <rshepard(at)appl-ecosys(dot)com> writes:
> su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster start > /dev/null 2>&1" < /dev/null

-s /bin/sh ?

Perhaps this is causing the thing to log in with /bin/sh not bash.
IIRC, you were putting the environment variables in .bash_profile?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Glen Parker 2002-02-19 20:28:20 Re: Alternate database locations
Previous Message Ian Harding 2002-02-19 19:45:53 Re: Report generation