<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 7, 2016 at 1:48 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">Usama,<br>
<br>
In your implementation of new PGPOOL SET command in 3.6, config change<br>
context is defined as enum:<br>
<br>
typedef enum<br>
{<br>
        CFGCXT_BOOT,<br>
        CFGCXT_INIT,<br>
        CFGCXT_RELOAD,<br>
        CFGCXT_PCP,<br>
        CFGCXT_SESSION<br>
} ConfigContext;<br>
<br>
and each configuration parameter is assinged to one of them. Does the<br>
order of enum value has any meaning ever? I mean, if certain variable<br>
context is assiged to CFGCXT_RELOAD, then the variable can be changed<br>
in CFGCXT_BOOT and CFGCXT_INIT context, for example.<br>
<br></blockquote><div>Yes, The order of enum value does matter, and the configuration variable with a specific config context can only be set/changed from the same or context with lower values. </div><div>For example if the variable has the CFGCXT_RELOAD context, then it can only be changed using context &lt;= CFGCXT_RELOAD (i.e. CFGCXT_BOOT, CFGCXT_INIT and CFGCXT_RELOAD) but not from the context having a value greater than variable context.</div><div><br></div><div>Do, you found any problem with it?</div><div> </div><div>Regards</div><div>Muhammad Usama</div><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">
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>
_______________________________________________<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></div>