"Julian Gollop" <julian(dot)gollop(at)ntlworld(dot)com> writes:
> I am logging in as user postgres, which owns the data/base/test directory
> with rwx------, and I start the postmaster with this login using
> pg_ctl -D ./data start
> There is no problem with disk space. I can initdb another data directory,
> but I can't createdb without a similar fatal error. Very puzzling.
Oh ... I see it. You gotta give an absolute path as -D parameter.
(I think PG 7.1 is smart enough to convert a relative -D path spec to
absolute, but earlier releases just get confused.)
regards, tom lane