Re: [GENERAL] Newbie struggling to set $PGDATA

2001-04-25 Thread Oliver Elphick
Geoff Caplan wrote: >Please help out a Linx/Postgres newbie. > >I simply want to set the $PGDATA environmental variable, but can't >figure out how. The docs assume you already know... > >I have tried setting it in my bash /etc/profile configuration file, >and it shows up ok if I "e

[GENERAL] Newbie struggling to set $PGDATA

2001-04-25 Thread Geoff Caplan
Hello Steve, Thursday, April 19, 2001, 4:53:58 PM, you wrote: SW> I just upgraded from 7.0.3 to 7.1 (using the RH rpms) with no SW> major problems. Nice! SW> However, I'm getting some strange behaviour from the init SW> script (/etc/rc.d/init.d/postgresql). In particular, a SW> restart whe

Re: [GENERAL] Newbie struggling to set $PGDATA

2001-04-25 Thread Tom Lane
Geoff Caplan <[EMAIL PROTECTED]> writes: > I have tried setting it in my bash /etc/profile configuration file, > and it shows up ok if I "echo $PGDATA" in the shell. But none of the > postgres utilities such as "initdb" seem to be able to find it. You probably forgot to say "export PGDATA"; witho