[pgpool-committers: 3783] pgpool: Fix do_query() hangs after close message.

Tatsuo Ishii ishii at postgresql.org
Fri Jan 27 16:22:20 JST 2017

Fix do_query() hangs after close message.

This is an en-bug in 3.6.1.

If an extend query appears right after a close message, do_query() is
called to check system catalogs, it hangs because it expects to read
pending data. This is caused by being mistakenly set the pending flag
after Close().

Back patch to 3.6-stable and 3.5-stable.



Modified Files
src/context/pool_session_context.c | 6 ++++++
src/protocol/pool_proto_modules.c  | 5 ++++-
2 files changed, 10 insertions(+), 1 deletion(-)

More information about the pgpool-committers mailing list