pgsql: libpq: Notice errors a backend may have sent just before dying.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: libpq: Notice errors a backend may have sent just before dying.
Дата
Msg-id E1Zwsge-0006XK-Py@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: libpq: Notice errors a backend may have sent just before dying.
Список pgsql-committers
libpq: Notice errors a backend may have sent just before dying.

At least since the introduction of Hot Standby, the backend has
sometimes sent fatal errors even when no client query was in
progress, assuming that the client would receive it.  However,
pqHandleSendFailure was not in sync with this assumption, and
only tries to catch notices and notifies.  Add a parseInput call
to the loop there to fix.

Andres Freund suggested the fix.  Comments are by me.
Reviewed by Michael Paquier.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c3e7c24a1d60dc6ad56e2a0723399f1570c54224

Modified Files
--------------
src/interfaces/libpq/fe-exec.c |   16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Make idle backends exit if the postmaster dies.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: libpq: Notice errors a backend may have sent just before dying.