[pgpool-committers: 9795] 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:10 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_3_STABLE

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

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