[pgpool-hackers: 569] Re: Memory contexts

Muhammad Usama m.usama at gmail.com
Fri Jul 4 19:07:14 JST 2014


On Fri, Jul 4, 2014 at 3:02 PM, Tatsuo Ishii <ishii at postgresql.org> wrote:

> > Hi Usama,
> >
> > Is there any documentation regarding memory contexts?  I saw these in
> > mcxt.c but except ProcessLoopContext, there's no documention about
> > purposes for these memory context usage.
> >
> > MemoryContext TopMemoryContext = NULL;
> > MemoryContext ErrorContext = NULL;
> > MemoryContext ProcessLoopContext = NULL; /* This context resets at every
> main loop iteration of a process */
> > MemoryContext CacheMemoryContext = NULL;
> > MemoryContext MessageContext = NULL;
> > MemoryContext QueryContext = NULL;
> > MemoryContext CurTransactionContext = NULL;
> >
> > I would like to manage memory used in pool_config.l.
>
> It seems other than TopMemoryContext, ErrorContext, and
> ProcessLoopContext, other memory contexts aren't used anywhere.  I'm
> going to remove unused memory contexts if there's no objection.
>
> Along with the ones you mentioned QueryContext is another context used in
pgpool-II,
And it is safe to remove rest of the unused contexts.


Best regards,
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
> English: http://www.sraoss.co.jp/index_en.php
> Japanese:http://www.sraoss.co.jp
> _______________________________________________
> pgpool-hackers mailing list
> pgpool-hackers at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-hackers


--usma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-hackers/attachments/20140704/afd83f54/attachment.html>


More information about the pgpool-hackers mailing list