Re: psql & "unexpected EOF on client connection" - Mailing list pgsql-bugs

From Tom Lane
Subject Re: psql & "unexpected EOF on client connection"
Date
Msg-id 16188.981387097@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql & "unexpected EOF on client connection"  (gateley@jriver.com)
List pgsql-bugs
gateley@jriver.com writes:
> About 1 time out of 20, the call
> to PGconnectdb fails with a segfault signal.

Well, you've already got some pretty severe problems then.  Seems to me
you ought to track down the reason for this failure before worrying
about cosmetic issues like an ungraceful disconnect.

I suggest compiling both libpq and your app with -g and extracting a
backtrace from the core file produced by the segfault ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Davidd
Date:
Subject: Bug Report #25 executeUpdate returns 1
Next
From: juan@netsoc.tcd.ie (Juan Flynn)
Date:
Subject: timestamp/date bug