Skip site navigation (1) Skip section navigation (2)

Bug #522: Cannot Create Database

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #522: Cannot Create Database
Date: 2001-11-27 03:49:51
Message-ID: 200111270349.fAR3nps48969@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Curtis Hermann (curtis(dot)hemann(at)wisdomtools(dot)com) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
Cannot Create Database

Long Description
I am on Mac OS 10.1.  Every time I try to create a database I get the following error: 
[localhost:~] postgres% createdb curtis_test
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

All other functionality like connecting to template1 or initdb seems to be functioning correctly.  When I start postmaster this is what I get:
[localhost:~] postgres% /usr/local/bin/postmaster -D /usr/local/pgsql/data
DEBUG:  database system was shut down at 2001-11-26 10:50:24 CST
DEBUG:  CheckPoint record at (0, 1530864)
DEBUG:  Redo record at (0, 1530864); Undo record at (0, 0); Shutdown TRUE
DEBUG:  NextTransactionId: 624; NextOid: 26912
DEBUG:  database system is in production state


Thanks very much,
Curtis P. Hermann

Sample Code
[localhost:~] postgres% createdb curtis_test
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

No file was uploaded with this report


Responses

pgsql-bugs by date

Next:From: Tatsuo IshiiDate: 2001-11-27 04:00:36
Subject: Re: Bug #522: Cannot Create Database
Previous:From: Mike FinnDate: 2001-11-27 00:05:27
Subject: pg_restore --data-only ignored

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group