[pgpool-committers: 7824] pgpool: Refactor "SHOW pool_pool_pools" and pcp_proc_info.
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Jun 16 22:04:27 JST 2021
Refactor "SHOW pool_pool_pools" and pcp_proc_info.
These commands had many duplicated codes and did not use
infrastructures to make the code shorter. Now they are fixed and it is
much easier to add new data.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=c7690453aed0a5c3b177e38e4f0aa09b56aff1ee
Modified Files
--------------
src/include/pcp/libpcp_ext.h | 21 ++--
src/include/utils/pool_process_reporting.h | 4 +-
src/libs/pcp/pcp.c | 94 ++++----------
src/pcp_con/pcp_worker.c | 79 +++++-------
src/tools/pcp/pcp_frontend_client.c | 69 +++++-----
src/utils/pool_health_check_stats.c | 30 ++++-
src/utils/pool_process_reporting.c | 196 +++++++----------------------
7 files changed, 173 insertions(+), 320 deletions(-)
More information about the pgpool-committers
mailing list