Fix bug with handling of 'H' (flush) message in streaming replication mode.
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 10 Oct 2017 07:06:22 +0000 (16:06 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 10 Oct 2017 07:06:22 +0000 (16:06 +0900)
commitfafb82c955bf5b823a8b7d248bdc88683c6e1c6e
tree35cf75fe530ad7d7eada73b428858d278b752c3a
parentf18e0994736d546930eac99535562758edc80b2c
Fix bug with handling of 'H' (flush) message in streaming replication mode.

If user expects to read response right after 'H', Pgpool-II hangs. The
cause was, when 'H' received, extended query mode was reset and
pending message was not used.

Reported in bug 345.
src/protocol/pool_proto_modules.c