[pgpool-committers: 4238] pgpool: Fix Pgpool-II hanging when error occurs in streaming replicatio

Tatsuo Ishii ishii at postgresql.org
Sat Sep 2 09:00:32 JST 2017


Fix Pgpool-II hanging when error occurs in streaming replication mode and extended query.

If backend returns ERROR, Pgpool-II reads message from frontend until
a sync message is sent. Previous code assumed next message is sync.
However it is possible that more message coming before the sync
message, it's a low probability though. Fix it to continue reading
messages until the sync message is read.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6b4216d429c4baef294d7b848eca90d406abc49e

Modified Files
--------------
src/protocol/pool_proto_modules.c | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list