/* -------------------------------- * and promote a node given by the argument as new pgpool's master * * return 0 on success, -1 otherwise * -------------------------------- */ int pcp_promote_node_gracefully(int nid) { return _pcp_promote_node(nid, TRUE); }
/* -------------------------------- * and promote a node given by the argument as new pgpool's master * * return 0 on success, -1 otherwise * -------------------------------- */ PCPResultInfo * pcp_promote_node_gracefully(PCPConnInfo* pcpConn,int nid) { return _pcp_promote_node(pcpConn,nid, TRUE); }
/* -------------------------------- * pcp_promote_node - promote a node given by the argument as new pgpool's master * * return 0 on success, -1 otherwise * -------------------------------- */ int pcp_promote_node(int nid) { return _pcp_promote_node(nid, FALSE); }
/* -------------------------------- * pcp_promote_node - promote a node given by the argument as new pgpool's master * * return 0 on success, -1 otherwise * -------------------------------- */ PCPResultInfo * pcp_promote_node(PCPConnInfo* pcpConn,int nid) { return _pcp_promote_node(pcpConn,nid, FALSE); }