Tom,
On Mon, Jan 15, 2001 at 05:23:20PM -0500, Tom Lane wrote:
> Jason Tishler <Jason.Tishler@dothill.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
endeavor?
I will hold off submitting the patch until this is fixed.
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.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com