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

Re: help! run postgresql in cygwin

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: redhat0320 <unruly_wind(at)sina(dot)com>
Cc: Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: help! run postgresql in cygwin
Date: 2001-04-19 13:28:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin

On Thu, Apr 19, 2001 at 10:02:36AM +0800, David Lee wrote:
> Thanks very much for providing the cygwin port of postgresql.  I think
> it's a very useful tool for me.

Your welcome -- I'm glad that you (will) find it useful.

> psql: pqReadData() -- backend closed the channel unexpectedly.
>         This probably means the backedn terminated abnormally
>         before or while processing the request.
> pq_flush: send() failed: The connection was aborted
> pq_recvbuf: recv() failed: error ESHUTDOWN triggered
> I don't know why it doesn't work? Could you tell me? or give me some
> advice on what should I do next.

The above is a known problem, please see the mailing thread that begins

Note that the problem has already been fixed in the current Cygwin CVS.

Currently, you have two options for a workaround:

1. Since the problem was introduced in the 2001-04-14 snapshot and as
you found out also exists in the 2001-04-16 one too, use the 2001-04-13
snapshot instead.

2. Build cygwin1.dll yourself from the current Cygwin CVS.

In the future please post to pgsql-cygwin(at)postgresql(dot)org instead of
sending private email, so others can benefit too.


Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:

pgsql-cygwin by date

Next:From: redhat0320Date: 2001-04-19 16:26:04
Subject: help! run PostgreSQL in Cygwin
Previous:From: Jason TishlerDate: 2001-04-19 00:58:50
Subject: Re: UNIX domain socket change breaks PostgreSQL (was Re: initdb fails)

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