> So here is a first patch ready for review. > > * it refactor "pcp processes info" related code to return all processes > * info from backend, similar to the "show pool_pools" query > * add pgpool process PID and backend id fields > * add the ability to show all these informations from pcp_proc_info > * command > * no change to the pcp_proc_info command default behavior > * new fields are added as last fields in the proc_info command only with > * the -a switch (both verbose or not) > > As a remember, I had to add fields "pgpool process PID" and "backend > id" because I will need them in pgpool_adm. > > Thank you for your next comments and review.
I have tried your patches. When pcp_proc_info is executed with no pid argument, it works fine. However if pid is given it gaves BackendError. $ pcp_proc_info 10 "" 9898 postgres pgpoolAdmin test t-ishii 2011-07-04 10:40:39 2011-07-04 10:40:46 3 0 2 1968 1 test t-ishii 2011-07-04 10:40:39 2011-07-04 10:40:46 3 0 2 1969 1 test t-ishii 2011-07-04 10:40:39 2011-07-04 10:41:25 3 0 1 2065 0 test t-ishii 2011-07-04 10:40:39 2011-07-04 10:41:25 3 0 1 2064 0 $ pcp_proc_info 10 "" 9898 postgres pgpoolAdmin 1968 BackendError -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp _______________________________________________ Pgpool-hackers mailing list [email protected] http://pgfoundry.org/mailman/listinfo/pgpool-hackers
