!3794 修复执行alter system set设置GUC参数,出现StorageTopMemoryContext 占用内存不释放
Merge pull request !3794 from 姜岩/master
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user