pgpool_adm_pcp_attach_node(3)

pgpool_adm_pcp_attach_node3

A function to attach given node id

Usage

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

Overview

pcp_attach_node attaches a node to Pgpool-II.

Arguments

node_id

The index of backend node to attach.

pcp_server

The foreign server name for pcp server.

Other arguments

Examples

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)

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

From pgpool2 4.6.1-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.