On Mon, Jan 15, 2001 at 05:23:20PM -0500, Tom Lane wrote:
> Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com> writes:
> > I've already tested the no postmaster case. Please be more explicit
> > regarding "connecting to a nonexistent socket" and etc. I'm afraid that
> > if I guess then I'll miss something.
> The cases I was thinking of were (a) no socket file (normal case if no
> postmaster) and
Case a behaves correctly.
> (b) socket file present but no postmaster attached ---
> you can get that by kill -9'ing the postmaster ...
Unfortunately, case b causes psql to hang. Using gdb, I was able to
trace that psql hangs calling select() in pqWait() (i.e.,
src/interfaces/libpq/fe-misc.c line 739).
I'm pretty sure that this is Cygwin bug. I will try to formulate
a minimal test for submission to the Cygwin list but I'm not that
experienced with sockets. Would anyone like to assist me with this
I will hold off submitting the patch until this is fixed.
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
pgsql-ports by date
|Next:||From: Jason Tishler||Date: 2001-01-16 04:37:55|
|Subject: Cygwin PostgreSQL Regression Test Problems|
|Previous:||From: Tom Lane||Date: 2001-01-15 22:23:20|
|Subject: Re: Cygwin PostgreSQL CVS Patch |