Make "unexpected EOF" messages DEBUG1 unless in an open transaction
authorMagnus Hagander <magnus@hagander.net>
Mon, 7 May 2012 16:39:37 +0000 (18:39 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 7 May 2012 16:50:44 +0000 (18:50 +0200)
commit916d589a10185bb30fc77923029d806f5907ab1e
tree157ab4ed8ab1558e1b9c753c7b69c2d4aee9ffd7
parent65b110703b798cdbfa568aa3583caba0ed51b33a
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.
src/backend/commands/copy.c
src/backend/tcop/fastpath.c
src/backend/tcop/postgres.c