Konstantinos Agouros <elwood@agouros.de> writes:
> I just tried to create another database, and all I get is a
> pqReadData() -- backend closed the channel unexpectedly.
> This probably means the backend terminated abnormally
> before or while processing the request.
> connection to server was lost
> createdb: database creation failed
> it gets so far zu create $PGDATADIR/newdbname but that's it.
> Anybody has a clue (I am running on Linux)
Sorry, no clue here :-( ... you'll need to provide more detail.
What shows up in the postmaster log? It sounds like the backend is
crashing --- is there a core dump file, and if so what stack trace
can you extract from it?
regards, tom lane