[pgpool-committers: 9798] 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:25 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
------
master

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

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