pgpool_adm_pcp_attach_node - a function to attach given node ID
Contents
Arguments
node_id
The index of backend node to attach.
pcp_server
The foreign server name for pcp server.
Otherarguments
See pcp_common_options(1).
Description
pcp_attach_node attaches a node to Pgpool-II.
Example
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)
pgpool-II 4.6.1 2023 PGPOOL_ADM_PCP_ATTACH_NODE(3)
Name
pgpool_adm_pcp_attach_node - a function to attach given node ID
Synopsis
pcp_attach_nodereturnsrecord(integernode_id,texthost,integerport,textusername,textpassword,outnode_attachedboolean);pcp_attach_nodereturnsrecord(integernode_id,textpcp_server,outnode_attachedboolean);
