<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 4, 2014 at 3:02 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-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">&gt; Hi Usama,<br>
&gt;<br>
&gt; Is there any documentation regarding memory contexts?  I saw these in<br>
&gt; mcxt.c but except ProcessLoopContext, there&#39;s no documention about<br>
&gt; purposes for these memory context usage.<br>
&gt;<br>
&gt; MemoryContext TopMemoryContext = NULL;<br>
&gt; MemoryContext ErrorContext = NULL;<br>
&gt; MemoryContext ProcessLoopContext = NULL; /* This context resets at every main loop iteration of a process */<br>
&gt; MemoryContext CacheMemoryContext = NULL;<br>
&gt; MemoryContext MessageContext = NULL;<br>
&gt; MemoryContext QueryContext = NULL;<br>
&gt; MemoryContext CurTransactionContext = NULL;<br>
&gt;<br>
&gt; I would like to manage memory used in pool_config.l.<br>
<br>
</div>It seems other than TopMemoryContext, ErrorContext, and<br>
ProcessLoopContext, other memory contexts aren&#39;t used anywhere.  I&#39;m<br>
going to remove unused memory contexts if there&#39;s no objection.<br>
<br></blockquote><div>Along with the ones you mentioned QueryContext is another context used in pgpool-II, </div><div>And it is safe to remove rest of the unused contexts.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Best regards,<br>
<div class="">--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
</div>_______________________________________________<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" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-hackers</a></blockquote><div><br></div><div>--usma </div></div><br></div></div>