Fix segfault in pgpool main process.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 4 Apr 2024 11:44:53 +0000 (20:44 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 4 Apr 2024 11:44:53 +0000 (20:44 +0900)
commit4b74646bea259e9277ccf4ff28f6bc77483c0343
treeabf2b1399256b95b2d3d93816adc9007604de567
parent0564864e7bb8505d2408ef47a9e8e112b937afe3
Fix segfault in pgpool main process.

This is a follow up commit for 0564864e "Fix assorted causes of
segmentation fault.". It lacked the fix while verify_backend_node calls
get_server_version, i.e. checking availability of slots.

Patch provided by: Emond Papegaaij
Backpatch-through: v4.4
Discussion:
[pgpool-general: 9072] Re: Segmentation after switchover
https://www.pgpool.net/pipermail/pgpool-general/2024-April/009133.html
src/main/pgpool_main.c