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

From Tom Lane
Subject Re: Alternate data location, again
Date
Msg-id 15372.1014150472@sss.pgh.pa.us
Whole thread Raw
In response to Re: Alternate data location, again  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Alternate data location, again
List pgsql-general
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?

            regards, tom lane

pgsql-general by date:

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