The problem has been resolved
>From: "Richard Church" <rfchurch@hotmail.com>
>To: pgsql-cygwin@postgresql.org
>Subject: [CYGWIN] Postgres 7.1-2 repeatedly fails to connect
>Date: Mon, 30 Apr 2001 01:23:46 -0000
>
>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.
>
I upgraded cygwin to the 1.3.1 version and the problem stopped. I got the
information from an earlier post the list.
>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.
>
I think the defaults set in Postgres should work okay. The problem was not
related to this at all
>Thanks
>
>Richard
>
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>http://www.postgresql.org/users-lounge/docs/faq.html
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.