pgpool_adm_pcp_detach_node
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 .
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)