[pgpool-committers: 8509] pgpool: Prevent hang in terminate_all_childrens().

Tatsuo Ishii ishii at sraoss.co.jp
Sat Apr 2 08:54:35 JST 2022


Prevent hang in terminate_all_childrens().

waitpid() was used in the function without WNOHANG was being set.
This could cause hang in waitpic().  Also fix typo. Rename
terminate_all_childrens to terminate_all_children.

Branch
------
V4_1_STABLE

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

Modified Files
--------------
src/main/pgpool_main.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)



More information about the pgpool-committers mailing list