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

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

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

Modified Files
--------------
src/main/pgpool_main.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)



More information about the pgpool-committers mailing list