<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 7, 2016 at 12:10 PM, 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="">&gt; On Fri, May 6, 2016 at 4:44 PM, Tatsuo Ishii &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Usama,<br>
&gt;&gt;<br>
&gt;&gt; Why do we need &quot;PGPOOL&quot; keyword? It seems to be annoying.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Basically, there are two reasons. First,is there are some configuration<br>
&gt; parameter names that are same in PostgreSQL and pgpool-II like<br>
&gt; &quot;port&quot;, &quot;log_min_messages&quot;  and many others. So if we use the same syntax<br>
&gt; without any difference, we would have no way of telling if the command is<br>
&gt; referring to the pgpool-II or Backend.<br>
&gt;<br>
&gt; like<br>
&gt; SHOW port;<br>
&gt; This command would be valid for both pgpool-II and PostgreSQL parameter.<br>
&gt;<br>
&gt; Second, I think it&#39;s good to have distinction in commands for<br>
&gt; setting/showing GUC and pgpool variables, otherwise it could cause the<br>
&gt; confusions.<br>
<br>
</span>Ok, fair enough. BTW, I thought very limited number of pgpool<br>
variables can be changed by the &quot;PGPOOL SET&quot; command. Do you have<br>
complete list of such variable names which can be changed using<br>
&quot;PGPOOL SET&quot;?<br></blockquote><div><br></div><div>Thanks for looking into this. I have added the command with this syntax.</div><div><br></div><div>On the part of variables that can be changed for session only using the PGPOOL SET command I was thinking to start a separate discussion thread once the coding part is complete.</div><div><br></div><div>I have given a little thought on the parameters that we can allow to be changed through SET command and currently, I can only think of parameter related to life connection and child&#39;s lifetime that can be safely changed through SET command. i.e.</div><div class="gmail_quote"><br></div>--child_life_time<br>--client_idle_limit<br>--connection_life_time<br>--child_max_connections<br><br>But to finalize the list of parameters I think we should carefully consider each and every pgpool-II config parameter and its effect if it is changed for a particular session only.</div><div class="gmail_quote"><br></div><div class="gmail_quote">And it would be great to get your and the community input on making that list of parameters.</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Kind regards</div><div class="gmail_quote">Muhammad Usama</div><div class="gmail_quote"><br><br><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div class=""><div class="h5"><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;&gt; &gt; Hi<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am currently working on adding the SHOW and SET commands for pgpool-II<br>
&gt;&gt; &gt; configuration parameter, these commands will allow the user to alter the<br>
&gt;&gt; &gt; specific pgpool-II configuration parameter values for a user session.<br>
&gt;&gt; More<br>
&gt;&gt; &gt; or less, these commands will work in similar ways as PostgreSQL&#39;s SET and<br>
&gt;&gt; &gt; SHOW commands for PostgreSQL&#39;s GUC variables. I have already checked in<br>
&gt;&gt; the<br>
&gt;&gt; &gt; configuration parameter framework to the pgpool master branch and before<br>
&gt;&gt; I<br>
&gt;&gt; &gt; push the SET and SHOW command functionality I want the opinion on the<br>
&gt;&gt; &gt; syntax of these two commands.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am thinking of using the PG&#39;s syntax with an addition of PGPOOL keyword<br>
&gt;&gt; &gt; at the start<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; For example<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; PostgreSQL uses the following syntax for SHOW and SET command<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; SHOW variable_name;<br>
&gt;&gt; &gt; SHOW all;<br>
&gt;&gt; &gt; SET variable_name to value;<br>
&gt;&gt; &gt; SET variable_name to DEFAULT;<br>
&gt;&gt; &gt; ..<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; And for pgpool variables we can use<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; PGPOOL SHOW variable_name;<br>
&gt;&gt; &gt; PGPOOL SHOW all;<br>
&gt;&gt; &gt; PGPOOL SET variable_name to value;<br>
&gt;&gt; &gt; PGPOOL SET variable_name to DEFAULT;<br>
&gt;&gt; &gt; ..<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Suggestions and thoughts.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Kind Regards<br>
&gt;&gt; &gt; Muhammad Usmaa<br>
&gt;&gt;<br>
</div></div></blockquote></div><br></div></div>