Re: Postgres 7.1-2 repeatedly fails to connect

From: "Richard Church" <rfchurch(at)hotmail(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Postgres 7.1-2 repeatedly fails to connect
Date: 2001-05-03 09:50:02
Message-ID: F296Dd9D9DQVXwR1IM9000005f7@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin


The problem has been resolved

>From: "Richard Church" <rfchurch(at)hotmail(dot)com>
>To: pgsql-cygwin(at)postgresql(dot)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.

Browse pgsql-cygwin by date

  From Date Subject
Next Message Richard Church 2001-05-03 10:02:03 Re: Postgres 7.1rc4 on Cygwin fails to connect
Previous Message Jason Tishler 2001-05-02 15:34:18 Re: Error INITDB