Re: psql error - Mailing list pgsql-admin

From Tom Lane
Subject Re: psql error
Date
Msg-id 12125.1014337811@sss.pgh.pa.us
Whole thread Raw
In response to psql error  ("Gtrica" <gtricarico@intin.it>)
List pgsql-admin
"Gtrica" <gtricarico@intin.it> writes:
> I'm new with postgress datbase..
> I have started correctly postmaster, I created a database "primo" ...
> Now when I try to start "psql primo" I receive the following error
> "psql : FATAL 1: cannot create init file
> .//base/primo/pg_internal.init.1179"

It looks to me like you tried to start the postmaster with a relative
PGDATA path (something like "postmaster -D .").  Try an absolute
path instead.

(IIRC, PG 7.1 and later will accept a relative path, but earlier versions
don't cope.  If you are indeed running something older than 7.1, it's
definitely a good idea to update.)

            regards, tom lane

pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Building binary...
Next
From: Peter Eisentraut
Date:
Subject: Re: \connect case-folding change maybe not such a good idea