[pgpool-committers: 3784] 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.

Branch
------
V3_6_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=4f98bf00eaac62092e39f9194618206ff0154d74

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