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

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

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

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



More information about the pgpool-committers mailing list