[pgpool-hackers: 3691] Re: enable specific argument name for function in pgpool_adm

Hou, Zhijie houzj.fnst at cn.fujitsu.com
Thu Jul 2 09:37:49 JST 2020


Hi Ishii san,

> Correction. You also need pgpool_adm--1.2--1.3.sql patch.

Thank you for your response.
To update doc, I plans to update the Example part of each function,
since the argument name can be found in current doc.

for example:

--before:
    test=# SELECT * FROM pcp_node_info(1,'',11001,'t-ishii','t-ishii');
    host | port  |      status       | weight |  role   | replication_delay | replication_state | replication_sync_state | last_status_change  
    ------+-------+-------------------+--------+---------+-------------------+-------------------+------------------------+---------------------
    /tmp | 11003 | Connection in use |      0 | Standby |                 0 | streaming         | async                  | 2019-04-23 15:02:46
    (1 row)

--after
    test=# SELECT * FROM pcp_node_info(node_id := 1, host := '', port := 11001, username := 't-ishii', password := 't-ishii');
    host | port  |      status       | weight |  role   | replication_delay | replication_state | replication_sync_state | last_status_change  
    ------+-------+-------------------+--------+---------+-------------------+-------------------+------------------------+---------------------
    /tmp | 11003 | Connection in use |      0 | Standby |                 0 | streaming         | async                  | 2019-04-23 15:02:46
    (1 row)

Is this appropriate?
Please let me know if there is anything else that needs to be modified.

Best regards,
houzj





More information about the pgpool-hackers mailing list