git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ac1d794) | patch
libpq: Notice errors a backend may have sent just before dying.
2015年11月12日 14:12:18 +0000 (09:12 -0500)
2015年11月12日 14:12:18 +0000 (09:12 -0500)
commit c3e7c24a1d60dc6ad56e2a0723399f1570c54224
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.
src/interfaces/libpq/fe-exec.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /