[pgpool-committers: 9793] pgpool: Allow reset queries to run even if extended queries do not end.

Tatsuo Ishii ishii at sraoss.co.jp
Thu Mar 21 09:34:59 JST 2024


Allow reset queries to run even if extended queries do not end.

Commit 240c668d "Guard against inappropriate protocol data." caused
reset queries fail if extended query messages do not end. This commit
fix that by checking whether we are running reset queries in
SimpleQuery(). Also add the test case for this.

Branch
------
V4_1_STABLE

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

Modified Files
--------------
src/protocol/pool_proto_modules.c                         | 10 +++++++---
.../tests/082.guard_against_bad_protocol/pgproto2.data    |  4 ++++
.../tests/082.guard_against_bad_protocol/test.sh          | 15 ++++++++++++++-
3 files changed, 25 insertions(+), 4 deletions(-)



More information about the pgpool-committers mailing list