/* -------------------------------- * and detach a node given by the argument from pgpool's control * * return 0 on success, -1 otherwise * -------------------------------- */ int pcp_detach_node_gracefully(int nid) { return _pcp_detach_node(nid, TRUE); }
/* -------------------------------- * and detach a node given by the argument from pgpool's control * * return 0 on success, -1 otherwise * -------------------------------- */ PCPResultInfo* pcp_detach_node_gracefully(PCPConnInfo* pcpConn, int nid) { return _pcp_detach_node(pcpConn, nid, TRUE); }
/* -------------------------------- * pcp_detach_node - detach a node given by the argument from pgpool's control * * return 0 on success, -1 otherwise * -------------------------------- */ int pcp_detach_node(int nid) { return _pcp_detach_node(nid, FALSE); }
/* -------------------------------- * pcp_detach_node - detach a node given by the argument from pgpool's control * * return 0 on success, -1 otherwise * -------------------------------- */ PCPResultInfo* pcp_detach_node(PCPConnInfo* pcpConn, int nid) { return _pcp_detach_node(pcpConn, nid, FALSE); }