PostgreSQL的内存管理机制四:AllocSet/MemoryContext的内存再分配

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