[pgpool-committers: 4478] pgpool: Fix queries hanging in parse_before_bind with extended protocol
    Tatsuo Ishii 
    ishii at postgresql.org
       
    Thu Jan 18 23:28:32 JST 2018
    
    
  
Fix queries hanging in parse_before_bind with extended protocol and replication + load-balancing.
In case the client sends a BIND message for a query
that has not yet been parsed by the executing node,
the PARSE will be executed before attempting to BIND
the parameters.
However, during the execution of the PARSE, the session
context is not set to in_progress, which leads to wrong
backend validity tests in read_kind_from_backend which
in turn makes the process wait on a backend which is not
going to send anything.
Fixes bug #377.
Bug report, analysis and fix by Ancoron Luciferis.
Branch
------
V3_5_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=ed367f4410cad31bdee2be7a06ac5b80fa573927
Modified Files
--------------
src/protocol/pool_proto_modules.c | 5 +++++
1 file changed, 5 insertions(+)
    
    
More information about the pgpool-committers
mailing list