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

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

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

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



More information about the pgpool-committers mailing list