[Pgpool-hackers] Admin interface, statistics views, etc

Tatsuo Ishii ishii at sraoss.co.jp
Tue Aug 10 15:26:04 UTC 2010


> Le 07/08/2010 01:16, Tatsuo Ishii a écrit :
> >> Le 06/08/2010 03:14, Tatsuo Ishii a écrit :
> >>>> Le 03/08/2010 13:29, Guillaume Lelarge a écrit :
> >>>>> Le 03/08/2010 12:23, Tatsuo Ishii a écrit :
> >>>>>>> Le 03/08/2010 03:48, Tatsuo Ishii a écrit :
> >>>>>>>>>>> AFAICT, it works really good. We still miss pgsql_pid. And should I add
> >>>>>>>>>>> some other reports? what do other people need?
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> No comments on this patch? meaning I should commit it or not?
> >>>>>>>>>
> >>>>>>>>> I was waiting for you add pgsql_pid. Have you done it?
> >>>>>>>>
> >>>>>>>> I have added new function:
> >>>>>>>> /*
> >>>>>>>>  * Return pointer to i th child, j th connection pool and k th backend
> >>>>>>>>  * of connection info on shmem.
> >>>>>>>>  */
> >>>>>>>> ConnectionInfo *pool_coninfo(int child, int connection_pool, int backend)
> >>>>>>>>
> >>>>>>>> I hope this will make your implementation regarding pgsql_pid easier.
> >>>>>>>> For example, pool_coninfo(10, 0, 1) will return pointer to
> >>>>>>>> ConnectionInfo corresponds to 1th backend pid which is in 0th
> >>>>>>>> connection pool in 10th pgpool child.
> >>>>>>>
> >>>>>>> Sorry for not answering sooner. I thought you were working on adding
> >>>>>>> pgsql_pid. There was a little misunderstanding :)
> >>>>>>
> >>>>>> Oh, I thought I woould work on pcp command, you would work on show
> >>>>>> command. 
> >>>>>>
> >>>>>
> >>>>> No problem :)
> >>>>>
> >>>>> I'll work on it ASAP.
> >>>>>
> >>>>
> >>>> With your last commits, it makes it quite easy to do. Here is my new
> >>>> patch. I still have an issue and perhaps you have an idea on how to
> >>>> resolve it. Is there a way to know which connection is the active one in
> >>>> a pool?
> >>>
> >>> This patch looks good and works good for me. Please commit.
> >>> Would you please update doc/pgpool-en.html as well to add those new
> >>> show commands?
> >>
> >> Do I have time to commit it only this monday (2010-08-09)? I would
> >> really like to have this in pgPool-II 3.0, but I think I won't have time
> >> to work on this before mondy morning.
> > 
> > No problem, please commit when you have time.
> 
> Done.
> 
> I had to fix my patch because I didn't take care the backend id. Right
> now, it only looks at backend 0. Not sure this is a sensible thing to
> do, but it would be easy to fix if it's not.

Can you be more specific?

> Documentation is included
> in the english HTML page.

Great. I will translate into Japanese.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


More information about the Pgpool-hackers mailing list