<div>Hello,</div><div><br></div><div>When reading pgpool's code, I found some messages never output</div><div>in function wd_get_failover_result_from_data().</div><div><br></div><div>There are two same if condition, so the second condition is always false.</div><div>For branch4.1 ,the code is as follows.</div><div>------------src/watchdog/wd_commands.c:721--------------------------</div><div><div>723     if (result == NULL)</div><div>724         return FAILOVER_RES_ERROR;</div><div>725</div><div>726     if (result == NULL)</div><div>727     {</div><div>728         ereport(WARNING,</div><div>729                 (errmsg("failover command on watchdog failed"),</div><div>730                  errdetail("issue command to watchdog returned NULL")));</div><div>731         return FAILOVER_RES_ERROR;</div><div>732     }</div></div><div>--------------------------------------</div><div><br></div><div>I think the warning messages should be output here, </div><div>And I make a patch for pgpool branch 4.1.</div><div><br></div><div>Best regards</div><div>sherlockcpp</div><div><br></div><div><br></div>