Re: Libpq optimization

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Libpq optimization
Дата
Msg-id 7723.1130348269@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Libpq optimization  ("Alon Goldshuv" <agoldshuv@greenplum.com>)
Ответы Re: Libpq optimization  ("Alon Goldshuv" <agoldshuv@greenplum.com>)
Список pgsql-hackers
"Alon Goldshuv" <agoldshuv@greenplum.com> writes:
> As the code comment suggests, it is extremely important to consume incoming
> messages from the server to prevent deadlock. However we should only worry
> about it before sending data out.

And, unfortunately, you've broken it.  The pqFlush call visible in that
routine is not the only place that may try to send data (see also
pqPutMsgEnd).
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: IMMUTABLE bug ?
Следующее
От: Robert Treat
Дата:
Сообщение: pidfile location missing after restarting crashed server in 8.1