[pgpool-committers: 4399] pgpool: Fix for re-sync logic in reading packet from backend.

Tatsuo Ishii ishii at postgresql.org
Tue Dec 12 16:24:16 JST 2017


Fix for re-sync logic in reading packet from backend.

read_kind_from_backend(), which reads message kind from backend,
re-syncs backend nodes when a ready for query message is
received. Unfortunately it forgot to call
pool_pending_message_pull_out() to delete sync pending message. This
leads to random stuck while reading packets from backend. Fix this to
call pool_pending_message_pull_out().

Branch
------
V3_7_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=73269e2f2dcaeb4ac87fce45a899cbdd83d8bd1d

Modified Files
--------------
src/protocol/pool_process_query.c | 10 ++++++++++
1 file changed, 10 insertions(+)



More information about the pgpool-committers mailing list