[pgpool-hackers: 566] Memory contexts

Tatsuo Ishii ishii at postgresql.org
Fri Jul 4 18:57:14 JST 2014


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.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


More information about the pgpool-hackers mailing list