pgpool_adm_pcp_attach_node
a function to attach given node ID
- Provided by: pgpool2 (Version: 4.3.7-1ubuntu4)
- Report a bug
a function to attach given node ID
pcp_attach_node returns record(integer node_id, text host, integer port, text username, text password, out node_attached boolean);
pcp_attach_node returns record(integer node_id, text pcp_server, out node_attached boolean);
pcp_attach_node attaches a node to Pgpool-II.
node_id
pcp_server
Other arguments
Here is an example output:
test=# SELECT * FROM pcp_attach_node(node_id => 1, host => 'localhost', port => 11001, username => 't-ishii', password => 't-ishii');
node_attached
---------------
t
(1 row)