-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/04/2011 07:13, Tatsuo Ishii wrote: >> Found the bug. >>[...] > Thanks. Your patches fixed the bug. Fix committed. However, > it seems pcp_node_info function has a problem: > > test=# SELECT * FROM pcp_node_info(0, 'localhost', 10, 9898, 'postgres', > 'pgpoolAdmin'); > host | port | status | weight > ------+------+-------------------+-------- > /tmp | 5433 | Connection in use | 0 > (1 row) > > $ pcp_node_info 1 localhost 9898 postgres pgpoolAdmin 0 > /tmp 5433 2 0.500000 > > Here the function shows the weight as 0 while pcp command shows as 0.5.
PFA a new version of pgpool_adm (version 6). Here is the changelog: * fix the bug about node weight (please, confirm) * some refactoring to factorize some pieces of code (get_pcp_conninfo, check_pcp_conninfo and _pcp_connect) * create pgpool_adm functions as STABLE Thank you for your next tests and review. > -- > Tatsuo Ishii > SRA OSS, Inc. Japan > English: http://www.sraoss.co.jp/index_en.php > Japanese: http://www.sraoss.co.jp - -- Jehan-Guillaume (ioguix) de Rorthais DBA http://www.dalibo.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk21b6gACgkQXu9L1HbaT6JjaQCdGTpKlc7o3SDxUgQMOhkjbPtu zJ0AoLiZDSnYYEJSNMdW7wj0y/xHk02M =dTN3 -----END PGP SIGNATURE-----
pgpool_adm-6.tar.gz
Description: application/gzip
_______________________________________________ Pgpool-hackers mailing list [email protected] http://pgfoundry.org/mailman/listinfo/pgpool-hackers
