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 ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match