[pgpool-committers: 8511] pgpool: Prevent hang in terminate_all_childrens().
Tatsuo Ishii
ishii at sraoss.co.jp
Sat Apr 2 08:54:46 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_3_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=90290b1b39bc82a60a34ee0bdb94e93effbdf1d4
Modified Files
--------------
src/main/pgpool_main.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
More information about the pgpool-committers
mailing list