Exemplo n.º 1
0
/* --------------------------------

 * 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);
}
Exemplo n.º 2
0
Arquivo: pcp.c Projeto: ysd001/pgpool2
/* --------------------------------

 * 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);
}
Exemplo n.º 3
0
/* --------------------------------
 * 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);
}
Exemplo n.º 4
0
Arquivo: pcp.c Projeto: ysd001/pgpool2
/* --------------------------------
 * 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);
}