!915 问题修复

Merge pull request !915 from ShineStarStar/syn2
This commit is contained in:
opengauss-bot
2021-04-21 21:05:45 +08:00
committed by Gitee
8 changed files with 28 additions and 20 deletions

View File

@ -1253,7 +1253,7 @@ static void alloc_context_from_top(knl_session_context* sess, MemoryContext top_
"SessionCacheMemoryContext",
ALLOCSET_DEFAULT_MINSIZE,
ALLOCSET_DEFAULT_INITSIZE,
ALLOCSET_DEFAULT_MAXSIZE);
(1024 * 1024)); /* set max block size to 1MB */
sess->temp_mem_cxt = AllocSetContextCreate(top_mem_cxt,
"SessionTempMemoryContext",
ALLOCSET_DEFAULT_MINSIZE,