[pgpool-committers: 4609] pgpool: Deal with "unable to bind D cannot get parse message "S1" error

Tatsuo Ishii ishii at postgresql.org
Wed Mar 14 17:28:22 JST 2018

Deal with "unable to bind D cannot get parse message "S1" error.

Before this just raised an exception and issue "DISCARD ALL" to only
node 0 if load balance node = 0 because query context wants to do
so. Problem is, when an exception is raised, the query context is not
active any more and Pgpool-II tries to read from node 1, which causes
a hang up.

Add new test for this to the extended query test.



Modified Files
src/protocol/pool_proto_modules.c                  |  8 ++---
.../expected/unable_to_bind.data                   | 19 ++++++++++++
.../extended-query-test/tests/unable_to_bind.data  | 34 ++++++++++++++++++++++
3 files changed, 57 insertions(+), 4 deletions(-)

More information about the pgpool-committers mailing list