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

Tatsuo Ishii ishii at sraoss.co.jp
Thu Mar 21 09:35:20 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_5_STABLE

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

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