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

Tatsuo Ishii ishii at sraoss.co.jp
Sat Apr 2 08:54:30 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_0_STABLE

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

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



More information about the pgpool-committers mailing list