[pgpool-committers: 2447] pgpool: on_exit call back functions were not getting reset in exec_if_c

Muhammad Usama m.usama at gmail.com
Wed Feb 18 04:51:14 JST 2015


on_exit call back functions were not getting reset in exec_if_cmd and exec_ping worker processes.

exec_if and exec_ping child processes were inheriting the parent exit callback
functions which could result in undesired behavior if one of these commands fails.
Fixed by adding on_exit_reset() at child start-up in both processes.

Branch
------
V3_4_STABLE

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

Modified Files
--------------
src/watchdog/wd_if.c   |    7 +++++++
src/watchdog/wd_ping.c |    1 +
2 files changed, 8 insertions(+)



More information about the pgpool-committers mailing list