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

Tatsuo Ishii ishii at sraoss.co.jp
Tue Aug 3 01:48:36 UTC 2010


> > > 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.
--
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