pgpool2.git / summary / log / commit / refs

commit    0e80ac4e57bb80db9614904878ea51dd04c845ef
Author:   Tatsuo Ishii <ishii@postgresql.org>
Date:     Tue Jul 15 02:01:11 2025 +0000

    Fix bug with pcp_proc_info.
    
    When pcp_proc_info was invoked without "-v" option, pcp_proc_info did
    not print the "statement" field.  This was due to oversight in the
    frontend side of the command: forgot to add one more format siring
    "%s".
    
    This bug was in only master branch: when some new fields were added to
    pcp_proc_info.
    
    Reported-by: Bo Peng <pengbo@sraoss.co.jp>
    Author: Tatsuo Ishii <ishii@postgresql.org>


src/tools/pcp/pcp_frontend_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/pcp/pcp_frontend_client.c b/src/tools/pcp/pcp_frontend_client.c index be192dd27..ecc922b93 100644 --- a/src/tools/pcp/pcp_frontend_client.c +++ b/src/tools/pcp/pcp_frontend_client.c @@ -751,7 +751,7 @@ output_procinfo_result(PCPResultInfo * pcpResInfo, bool all, bool verbose) format = format_titles(titles, types, sizeof(titles)/sizeof(char *)); else { - format = "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s\n"; + format = "%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s\n"; } for (i = 0; i < array_size; i++) [parent: 2a236be3e8ae]