PostgreSQL的內存管理機制四:AllocSet/MemoryContext的內存再分配

話說MemoryContextMethods結構裏的函數實現了pg裏AllocSet/MemoryContext的內存管理機制,定義見下面。 typedef structMemoryContextMethods { void *(*alloc) (MemoryContext context, Sizesize); /* call this free_p in case someone #defin
相關文章
相關標籤/搜索