]> granicus.if.org Git - postgresql/commit
Remove error report from pq_endmessage when pq_putmessage fails. The
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 16 Apr 2001 01:46:57 +0000 (01:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 16 Apr 2001 01:46:57 +0000 (01:46 +0000)
commit6ccb2af7251a203d196d973f2d0135e3e4e7b452
tree640cacf16ee8822915863619ab2d85eb26842bc7
parentc8e05affe41f08626422501510cdb4b3f08468c1
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.
src/backend/libpq/pqformat.c