!3794 修复执行alter system set设置GUC参数,出现StorageTopMemoryContext 占用内存不释放

Merge pull request !3794 from 姜岩/master
This commit is contained in:
opengauss_bot
2023-07-24 12:02:36 +00:00
committed by Gitee

View File

@ -2336,6 +2336,9 @@ void assign_synchronous_standby_names(const char *newval, void *extra)
i++;
}
list_free_deep(tcxt->SyncRepConfig);
tcxt->SyncRepConfig = NIL;
(void)MemoryContextSwitchTo(old_context);
}