<div dir="ltr">Hi Ishii San<div><br></div><div>I don&#39;t think that PCP client side is required to recognize the <span style="font-size:12.8px"><i>pcp_socket_dir</i>, one because </span><span style="font-size:12.8px"><i>pcp_socket_dir</i> only sets the directory where the PCP server in pgpool-II would create the unix domain socket file. And to connect to PCP server using the unix domain socket, pcp_* clients needs to provide that path in hostname option of the command</span></div><div><br></div><div>For example, if <span style="font-size:12.8px">pcp_socket_dir = &#39;/tmp&#39; the client can put this </span><span style="font-size:12.8px">pcp_socket_dir path in -h command line argument of pcp_* commands</span></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">$ bin/pcp_watchdog_info -h  /tmp/ -U postgres -v 0</font><br></div><div><br></div><div>Secondly, pcp_* frontend clients have no dependency on and visibility of pgpool.conf file, so they have no idea about <span style="font-size:12.8px">pcp_socket_dir value.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks</span></div><div><span style="font-size:12.8px">Best regards</span></div><div><span style="font-size:12.8px">Muhammad Usama</span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 8, 2015 at 9:40 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">Usama,<br>
<br>
Does pcp recognize pcp_socket_dir? While searching libc/pcp.c, I could<br>
not find any reference to pcp_socket_dir.<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>
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>
</blockquote></div><br></div>