logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pgpool_adm_pcp_attach_node - a function to attach given node ID

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);

See Also