Beispiel #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);
}
Beispiel #2
0
/* --------------------------------

 * 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);
}
Beispiel #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);
}
Beispiel #4
0
/* --------------------------------
 * 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);
}