[pgpool-committers: 9794] 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:04 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_2_STABLE

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

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