Re: Alternate data location, again - Mailing list pgsql-general

From Rich Shepard
Subject Re: Alternate data location, again
Date
Msg-id Pine.LNX.4.44.0202191230550.2601-100000@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Alternate data location, again  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Tue, 19 Feb 2002, Tom Lane wrote:

> Rich Shepard <rshepard@appl-ecosys.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


pgsql-general by date:

Previous
From: "William Herring"
Date:
Subject: Copying to float8 data type
Next
From: Rich Shepard
Date:
Subject: Re: Alternate database locations