pgsql: Make "unexpected EOF" messages DEBUG1 unless in an open transact

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make "unexpected EOF" messages DEBUG1 unless in an open transact
Date: 2012-05-07 17:04:41
Message-ID: E1SRRMX-00087y-9c@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make "unexpected EOF" messages DEBUG1 unless in an open transaction

"Unexpected EOF on client connection" without an open transaction
is mostly noise, so turn it into DEBUG1. With an open transaction it's
still indicating a problem, so keep those as ERROR, and change the message
to indicate that it happened in a transaction.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/916d589a10185bb30fc77923029d806f5907ab1e

Modified Files
--------------
src/backend/commands/copy.c | 6 +++---
src/backend/tcop/fastpath.c | 19 ++++++++++++++++---
src/backend/tcop/postgres.c | 38 ++++++++++++++++++++++++++++++++------
3 files changed, 51 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2012-05-07 18:33:12 pgsql: Fix pg_config.h make rule
Previous Message Bruce Momjian 2012-05-07 01:44:06 pgsql: Document that it is the pgsql version we are matching for psqlrc