Rajesh Kumar Mallah <mallah@trade-india.com> writes:
> [root@ns3 root]# echo $PGDATA
> /usr/local/pgsql/data
> [root@ns3 root]# pg_ctl reload
> pg_ctl: cannot find /usr/local/pgsql/data/postmaster.pid
> Is postmaster running?
Is PGDATA actually an environment variable --- that is, did you
"export" it?
regards, tom lane