PGPOOL_AD...NODE_INFO(3)
πΈ NAME πΈ
okay so bestie, welcome to the manual page for pgpool_adm_pcp_node_info β that's PGPOOL_AD...NODE_INFO(3) if you're keeping score β straight from the pgpool-II 4.7.2 Documentation. It's literally a function to display the information on the given node ID. no cap. β¨
π SYNOPSIS π
pcp_node_info returns record(integer node_id, text host, integer port,
text username, text password,
out status text, out pg_status text,
out weight float4, out role text,
out pg_role text,
out replication_delay bigint,
out replication_state text,
out replication_sync_state text,
out last_status_change timestamp);
pcp_node_info returns record(integer node_id, text pcp_server,
out status text, out pg_status text,
out weight float4, out role text,
out pg_role text,
out replication_delay bigint,
out replication_state text,
out replication_sync_state text,
out last_status_change timestamp);
π¦ DESCRIPTION π¦
pcp_node_info displays the information on the given node ID. that's the whole vibe, bestie. π
π ARGUMENTS π
node_idβ the index of backend node to get information of.pcp_serverβ the foreign server name for pcp server.- Other arguments β see
pcp_common_options(1).
π EXAMPLE π
Here is an example output:
test=# SELECT * FROM pcp_node_info(node_id => 1, host => '', port => 11001, username => 't-ishii', password => 't-ishii');
host | port | status | pg_status | weight | role | pg_role | replication_delay | replication_state | replication_sync_state | last_status_change
------+-------+-------------------+-----------+--------+---------+---------+-------------------+-------------------+------------------------+---------------------
/tmp | 11003 | Connection in use | up | 0.5 | Standby | standby | 0 | streaming | async | 2021-02-27 15:10:19
(1 row)
Note π«Άrole,replication_delay,last_status_changeout parameters are new from Pgpool-II 4.0. If you have already installed pre-4.0pgpool_admextension, you can upgrade to the new one by usingALTER EXTENSIONSQL command.
ALTER EXTENSION pgpool_adm UPDATE;
Note πreplication_stateandreplication_sync_stateout parameters are new from Pgpool-II 4.1. If you have already installed pre-4.1pgpool_admextension, you can upgrade to the new one by usingALTER EXTENSIONSQL command.
ALTER EXTENSION pgpool_adm UPDATE;
Note π¦pg_status,pg_roleout parameters are new from Pgpool-II 4.3. If you have already installed pre-4.2pgpool_admextension, you can upgrade to the new one by usingALTER EXTENSIONSQL command.
ALTER EXTENSION pgpool_adm UPDATE;
and that's the tea, bestie π β this whole thing lives under pgpool-II 4.7.2, the date on it is 2023, and PGPOOL_AD...NODE_INFO(3) is the manual name doing its little icon thing at the bottom. mwah π
π
π¦ where this page comes from
- ubuntu stonking: pgpool2 4.7.2-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms