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 pgpool_adm_pcp_detach_node(1, 'false', 'localhost',11001,'t-ishii','t-ishii'); node_detached --------------- t (1 row)