pgpool_adm_pcp_node_count
名前
pgpool_adm_pcp_node_count --    
   ノード数を取得する関数
  
概要
pcp_node_count returns integer(text host, integer port, text username, text password);
pcp_node_count returns integer(text pcp_server);
説明
   
   pcp_node_countはDBノードの数を取得します。
  
使用例
   
   使用例です。
   
    test=# SELECT * FROM pcp_node_count('localhost',11001,'t-ishii','t-ishii');
    node_count
    ------------
    2
    (1 row)