[pgpool-committers: 9485] pgpool: Fix crash when v2 protocol is used.

Tatsuo Ishii ishii at sraoss.co.jp
Mon Jul 17 19:41:55 JST 2023


Fix crash when v2 protocol is used.

When read_kind_from_backend() accumulates statistics data, it was not
prepared for v2 protocol case.

Bug report and patch from MCanivez.
https://www.pgpool.net/mantisbt/view.php?id=807
Slightly modified by me.

Branch
------
master

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

Modified Files
--------------
src/protocol/pool_process_query.c | 37 ++++++++++++++++++++++++-------------
1 file changed, 24 insertions(+), 13 deletions(-)



More information about the pgpool-committers mailing list