On Sun, 18 May 2003, John wrote:
> Hello,
>
> I am seeking some help with installing postgresql 2.7.3 on my
> SuSE linux 8.2 system. I am having trouble setting the PGDATA
> parameter.
As the postgres user, edit the file ~/.bash_profile to have this line in
it:
PGDATA=/where/your/db/lives
export PGDATA
then 'su - postgres' again and do 'echo $PGDATA' to see if it's set.
man bash is the main page for how the bash shell works. don't worry, it's
not as complex as it looks. Well, yes it is, but the parts you need to
know to get postgresql working aren't too bad.