Lars Forseth <larsf@powertech.no> writes:
> /usr/bin/postmaster does not find the database system. Expected to find it
> in the PGDATA directory "~postgres/data", but unable
> to open file with pathname "~postgres/data/base/template1/pg_class".
Looks to me like you're launching postmaster from a plain Bourne shell
that doesn't know the shorthand ~user for user's home directory. Try
spelling out the exact path name in the invocation script.
regards, tom lane