[Pgpool-hackers] patch to add node_id column in pool_nodes "view"
Guillaume Lelarge
guillaume at lelarge.info
Wed Nov 17 21:44:13 UTC 2010
Le 17/11/2010 22:36, Jean-Paul Argudo a écrit :
> [...]
> We're doing some work on a customer projet about industrialization of
> pgpool-II (scripts, etc.). In this project, we have to add "node_id"
> information to "show pool_nodes" output.
>
> This patch aims to add this info. It is of great use in a SR/HS cluster
> with pgpool (master/slave mode of pgpool-II).
>
> I assumed the "i" index in the loop could be used to find from node 0 to
> nodecount... Hope this is always true ?
>
Yes, you're right.
--
Guillaume
http://www.postgresql.fr
http://dalibo.com
More information about the Pgpool-hackers
mailing list