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

From Julian Gollop
Subject RE: FATAL cannot create init file... why?
Date
Msg-id NFBBLMMNOAMHIFBIDJMJOEMJOFAA.julian.gollop@ntlworld.com
Whole thread Raw
In response to Re: FATAL cannot create init file... why?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Hi Tom,
That seems to have clinched it - all working now.
Thanks very much.

Julian.

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: 11 May 2001 16:21
To: Julian Gollop
Cc: pgsql-novice@postgresql.org
Subject: Re: [NOVICE] FATAL cannot create init file... why?

"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 the different types of the queries?
Next
From: pete@example.compulink.co.uk
Date:
Subject: Re: Looking for good reference materials for SQL programming.