[pgpool-committers: 2445] 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:41:58 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
------
master

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

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