Man page - pgpool_adm_pcp_detach_node(3)
Packages contains this manual
- pcp_invalidate_query_cache(1)
- pgpool_adm_pcp_node_count(3)
- pcp_proc_info(1)
- pcp_recovery_node(1)
- pcp_common_options(1)
- pgpool_adm_pcp_pool_status(3)
- pcp_proc_count(1)
- pcp_log_rotate(1)
- pgpool_adm_pcp_node_info(3)
- pgpool_adm_pcp_attach_node(3)
- pcp_stop_pgpool(1)
- pcp_node_count(1)
- pgpool_setup(1)
- pcp_health_check_stats(1)
- pgpool_adm_pcp_detach_node(3)
- pgpool_adm_pcp_health_check_stats(3)
- pg_md5(1)
- pcp_promote_node(1)
- pcp_pool_status(1)
- pcp_detach_node(1)
- wd_cli(1)
- pg_enc(1)
- pcp_reload_config(1)
- pgpool_adm_pcp_proc_info(3)
- pcp_watchdog_info(1)
- pgproto(1)
- pgpool(8)
- watchdog_setup(1)
- pcp_node_info(1)
- pcp_attach_node(1)
apt-get install pgpool2
Manual
PGPOOL_ADM_PCP_DETACH_NODE
NAMESYNOPSIS
DESCRIPTION
ARGUMENTS
EXAMPLE
NAME
pgpool_adm_pcp_detach_node - a function to detach given node ID
SYNOPSIS
|
pcp_detach_node returns record(integer node_id , boolean gracefully , text host , integer port , text username , text password , out node_detached boolean ); |
||
|
pcp_detach_node returns record(integer node_id , boolean gracefully , text pcp_server , out node_detached boolean ); |
DESCRIPTION
pcp_detach_node detaches a node from Pgpool-II.
ARGUMENTS
node_id
The index of backend node to detach.
gracefully
If true, wait for all session of pgpool-II terminates.
pcp_server
The foreign server name for pcp server.
Other arguments
See pcp_common_options (1).
EXAMPLE
Here is an example output:
test=# SELECT *
FROM pcp_detach_node(node_id => 1, gracefully =>
'false', host => 'localhost', port => 11001, username
=> 't-ishii', password => 't-ishii');
node_detached
---------------
t
(1 row)