mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
Generational memory allocator
Add new style of memory allocator, known as Generational appropriate for use in cases where memory is allocated and then freed in roughly oldest first order (FIFO). Use new allocator for logical decoding’s reorderbuffer to significantly reduce memory usage and improve performance. Author: Tomas Vondra Reviewed-by: Simon Riggs
This commit is contained in:
@ -274,6 +274,7 @@ typedef enum NodeTag
|
||||
T_MemoryContext,
|
||||
T_AllocSetContext,
|
||||
T_SlabContext,
|
||||
T_GenerationContext,
|
||||
|
||||
/*
|
||||
* TAGS FOR VALUE NODES (value.h)
|
||||
|
Reference in New Issue
Block a user