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

Postgres 7.1-2 repeatedly fails to connect

From: "Richard Church" <rfchurch(at)hotmail(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Postgres 7.1-2 repeatedly fails to connect
Date: 2001-04-30 01:23:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin
Question 1

I am able to install and initdb Postgres. But whenever I try to run psql or
createdb, it fails and I get the message below.

The part which starts 'backend closed the channel....'  always comes up with
rest of the message varying depending on the message.

psql: pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
createdb: database creation failed
pq_flush: send<> failed: The connection was aborted
pq_recvbuf: recv() failed: errno

Question 2

My postgresql.conf file is completely commented out.

Can anyone show me a sample which will at least allow connection via TCP/IP?

Could it be the reason why the commands above are not working?  I  execute
these commands from the cygwin console.



Get Your Private, Free E-mail from MSN Hotmail at


pgsql-cygwin by date

Next:From: Bonefoy RĂ©miDate: 2001-04-30 09:39:08
Subject: How to stop properly Postmaster NT Service
Previous:From: Richard ChurchDate: 2001-04-29 13:19:30
Subject: Postgres 7.1rc4 on Cygwin fails to connect

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