Re: Alternate data location, again

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Alternate data location, again
Date: 2002-02-19 20:32:46
Message-ID: Pine.LNX.4.44.0202191230550.2601-100000@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 19 Feb 2002, Tom Lane wrote:

> 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?

You recall correctly, Tom. bash is the default shell for us users (and
root, too). I've not edited any initialization/shutdown scripts before, but
I suppose that changing /bin/sh to /bin/bash will not break anything.

Thanks,

Rich

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-02-19 20:58:20 Re: Copying to float8 data type
Previous Message Levent 2002-02-19 20:31:07 ecpg Question