Re: UNIX domain socket change breaks PostgreSQL (was Re: initdb fails)

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Cygwin-Developers <cygwin-developers(at)cygwin(dot)com>
Cc: Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: UNIX domain socket change breaks PostgreSQL (was Re: initdb fails)
Date: 2001-04-18 21:53:18
Message-ID: 20010418175318.E394@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Chris,

On Wed, Apr 18, 2001 at 05:24:43PM -0400, Christopher Faylor wrote:
> On Wed, Apr 18, 2001 at 04:58:09PM -0400, Jason Tishler wrote:
> >On Wed, Apr 18, 2001 at 04:48:28PM -0400, Christopher Faylor wrote:
> >>Which part of the patch caused the problem?
> >
> >If I only back out the select part:
> >
> >http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/select.cc.diff?cvsroot=uberbaum&r1=1.35&r2=1.36
> >
> >then PostgreSQL is happy again.
>
> I can't imagine how that could be. That is a dummy socket. It should
> have no effect on anything but cygwin.

By "cygwin" do you mean the DLL or any Cygwin process? I wasn't explicit
but both postmaster and psql are Cygwin processes.

> I could believe that the change to AF_UNIX sockets would have an effect,
> though. I've backed out that patch since it was ill-advised.

I will do a full cvs update, make clean, and make to verify that the
problem is fixed in the current CVS. I'll report back tomorrow.

> Could you try putting back the select change and backing out the net.cc
> change? I would be interested in seeing if that fixes things too.

This fixes the problem too which implies that it should be fixed in the
current CVS.

Thanks,
Jason

--
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: http://www.dothill.com

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Christopher Faylor 2001-04-18 22:19:08 Re: UNIX domain socket change breaks PostgreSQL (was Re: initdb fails)
Previous Message Christopher Faylor 2001-04-18 21:24:43 Re: UNIX domain socket change breaks PostgreSQL (was Re: initdb fails)