Attempt to fix buildfarm timeout error.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 21 Apr 2022 06:24:26 +0000 (15:24 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 21 Apr 2022 06:24:26 +0000 (15:24 +0900)
commit480c0ce0b76828428fd4823160012bb44d5eb53f
tree8dc3e348873d564f297ddae4d0eeb886669d2a93
parent4c143c187c5ef2b1155a199b60327acfb264bea5
Attempt to fix buildfarm timeout error.

After inspecting the buildfarm log, I noticed it seems as if terminate
signal was ignored.  My theory is system(3), which is used in
trigger_failover() ignores SIGINT and SIGQUIT.  To deal with this,
check the return value of system(3) to determine whether signal was
sent while executing system(3). If so, call exit_handler after
failover.
src/main/pgpool_main.c