Remove error report from pq_endmessage when pq_putmessage fails. The

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6ccb2af7251a203d196d973f2d0135e3e4e7b452
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-04-16T01:46:57Z
Releases: 7.1.1
Remove error report from pq_endmessage when pq_putmessage fails.  The
only possible failure is in pq_flush, which will log a (better!) report
anyway --- so pq_endmessage is just cluttering the log with a redundant
entry.  This matters when a client crashes partway through a large query,
since we will emit many broken-pipe reports before finishing the query
and exiting.

Files

PathChange+/−
src/backend/libpq/pqformat.c modified +3 −8