Обсуждение: pgsql/src/backend/libpq pqformat.c

Поиск
Список
Период
Сортировка

pgsql/src/backend/libpq pqformat.c

От
Tom Lane
Дата:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/04/15 21:46:57

Modified files:
    src/backend/libpq: pqformat.c

Log message:
    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.