Re: FATAL cannot create init file... why? - Mailing list pgsql-novice

From Tom Lane
Subject Re: FATAL cannot create init file... why?
Date
Msg-id 4795.989594485@sss.pgh.pa.us
Whole thread Raw
In response to RE: FATAL cannot create init file... why?  ("Julian Gollop" <julian.gollop@ntlworld.com>)
Responses RE: FATAL cannot create init file... why?  ("Julian Gollop" <julian.gollop@ntlworld.com>)
List pgsql-novice
"Julian Gollop" <julian.gollop@ntlworld.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

pgsql-novice by date:

Previous
From: "Mohammed A"
Date:
Subject: different characteristics of queries?
Next
From: "Mohammed A"
Date:
Subject: different characteristics of the different types of the queries?