[pgpool-committers: 3785] 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_5_STABLE

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

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