Re: psql & "unexpected EOF on client connection"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gateley(at)jriver(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: psql & "unexpected EOF on client connection"
Date: 2001-02-05 15:31:37
Message-ID: 16188.981387097@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

gateley(at)jriver(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Karel Zak 2001-02-05 16:06:16 Re: some info about char(1)
Previous Message gateley 2001-02-05 15:02:08 Re: psql & "unexpected EOF on client connection"