Re: could not open file "global/pg_database" - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: could not open file "global/pg_database"
Date
Msg-id 20071018162537.GF29379@alvh.no-ip.org
Whole thread Raw
In response to could not open file "global/pg_database"  (Sylvain Brohee <sylvain@scmbb.ulb.ac.be>)
List pgsql-admin
Sylvain Brohee wrote:

> If I try create a database
>
> createdb testdb
>
> createdb: could not connect to database postgres: FATAL:  could not open
> file "global/pg_database": No such file or directory

That's pretty strange.  Is there a global/pg_database file in $PGDATA?
Who's the owner?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-admin by date:

Previous
From: Alexander Stanier
Date:
Subject: Moving multiple schemas when upgrading from 8.1 to 8.2
Next
From: Anibal David Acosta
Date:
Subject: Cycling redundancy check error in dump file