PostgreSQL的内存管理机制二:AllocSet/MemoryContext的内存回收

话说MemoryContextMethods结构里的函数实现了pg里AllocSet/MemoryContext的内存管理机制,定义见下面。 typedef structMemoryContextMethods { void *(*alloc) (MemoryContext context, Sizesize); /* call this free_p in case someone #defin
相关文章
相关标签/搜索