<div dir="ltr">Hi<div><br></div><div>I have modified the patch a little and also included the changes for &quot;show pool_nodes&quot;, &quot;show pool_status&quot; and English documentation.</div><div><br></div><div>More specifically the changes from the original version are. First, Since this is a new feature that will only go out in next pgpool-II major release so instead of adding a command line argument in the pcp_node_info for displaying the human readable status string, I have included it in the standard output of the utility and updated the documentation accordingly. Second, As the pgpool admin extension already shows the human readable node status so I don&#39;t think we need to touch that.</div><div><br></div><div>Suggestions and comments.</div><div><br></div><div>Best regards</div><div>Muhammad Usama</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 10, 2016 at 8:26 AM, Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can either 1) concentrate on working on pcp_node_info and leave<br>
the rest of work (i.e. show pool_nodes) to someone else, or 2) take<br>
care of all the commands including pcp_node_info and show pool_nodes.<br>
<br>
Either is fine for me. The choice is up to you.<br>
<br>
BTW, your coding style is a little bit different from ours. We<br>
strictly follow the PostgreSQL style. For example,<br>
<br>
if (....) {<br>
  ....<br>
} else {<br>
  ....<br>
}<br>
<br>
is not a recommended coding style. We prefer followings:<br>
<br>
if (....)<br>
{<br>
  ....<br>
}<br>
else<br>
{<br>
  ....<br>
<div class="HOEnZb"><div class="h5">}<br>
<br>
Best regards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
<br>
&gt; I can agree that keeping things consistent is a good idea. I&#39;m busy this<br>
&gt; week, but I should have time next week to code that up. Any other<br>
&gt; suggestion you want me to get while I&quot;m doing that, because I don&#39;t think I<br>
&gt; have used all the commands. I&#39;ll look though the doc&#39;s to see what I find<br>
&gt; as well, but I wanted to ask in case there is something specific you want<br>
&gt; me to do.<br>
&gt;<br>
&gt;<br>
&gt; On May 9, 2016 3:52 AM, &quot;Tatsuo Ishii&quot; &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; &gt; Hey everybody,<br>
&gt;&gt; &gt;   I use pgpool and I noticed that pcp_node_info usually requires that I<br>
&gt;&gt; &gt; have the pgpool docs open in order to interpret the output. As a result I<br>
&gt;&gt; &gt; would like to propose a &#39;-r --readable&#39; option (-h for human-readable is<br>
&gt;&gt; &gt; taken by host). I posted the small patch needed to do this<br>
&gt;&gt; &gt; <a href="http://www.pgpool.net/mantisbt/view.php?id=192" rel="noreferrer" target="_blank">http://www.pgpool.net/mantisbt/view.php?id=192</a> . I am willing to do more<br>
&gt;&gt; &gt; work on this if it is requested. Let me know what the opinion on this is.<br>
&gt;&gt;<br>
&gt;&gt; If we were going to change pcp_node_info, we might want to change other<br>
&gt;&gt; places for consistency sake (for example, &quot;show pool_nodes&quot;). What do<br>
&gt;&gt; you think?<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt; --<br>
&gt;&gt; Tatsuo Ishii<br>
&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
pgpool-hackers mailing list<br>
<a href="mailto:pgpool-hackers@pgpool.net">pgpool-hackers@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-hackers" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-hackers</a><br>
</div></div></blockquote></div><br></div>