[pgpool-committers: 4243] pgpool: Remove pending message when Close Complete received.

Tatsuo Ishii ishii at postgresql.org
Sun Sep 3 16:51:01 JST 2017

Remove pending message when Close Complete received.

When parse_before_bind() is called and a close message is sent, a
pending message is created but it is not removed later on. For usual
close message read_kind_from_backend() does not remove the pending
message because CloseComplete() does it later on. But in the code path
for parse_before_bind() gets called, CloseComplete() did not remove
the pending message. This brings loosing sync of pending messages and
messages from backend, which could cause a hang in



Modified Files
src/protocol/pool_proto_modules.c | 7 +++++++
1 file changed, 7 insertions(+)

More information about the pgpool-committers mailing list