Re: Strange message in logs..

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mitch Vincent" <mitch(at)venux(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Strange message in logs..
Date: 2000-06-08 14:32:48
Message-ID: 15812.960474768@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Mitch Vincent" <mitch(at)venux(dot)net> writes:
> I'm getting a lot of
> pq_recvbuf: unexpected EOF on client connection
> ... in my postgres.log file (PostgreSQL 7.0.0), is this to be expected?

It is if you are using client apps that don't bother to close the
connection cleanly (ie, first sending an 'X' message) when they quit.

It appears that our ODBC driver doesn't send 'X' during connection
close, which I would call a (minor) bug in the ODBC driver. Of course
the problem would appear anyway if the client app is in the habit of
exiting without telling the interface library to shut down first.

The backend doesn't particularly care; it'll close up shop the same
way with or without 'X'.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-06-08 14:41:00 Re: Proposal: TRUNCATE TABLE table RESTRICT
Previous Message Zeugswetter Andreas SB 2000-06-08 14:29:24 AW: Proposal: TRUNCATE TABLE table RESTRICT