diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2017-11-23 05:45:07 +1100 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2017-11-23 05:45:07 +1100 |
commit | a4ccc1cef5a04cc054af83bc4582a045d5232cb3 (patch) | |
tree | 897617e76a9777c039257312e2e4edcba1cbe4b7 /src/include/nodes/nodes.h | |
parent | 3bae43ca4dc6c3123788044436521f1d33d9f930 (diff) | |
download | postgresql-a4ccc1cef5a04cc054af83bc4582a045d5232cb3.tar.gz postgresql-a4ccc1cef5a04cc054af83bc4582a045d5232cb3.zip |
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
Diffstat (limited to 'src/include/nodes/nodes.h')
-rw-r--r-- | src/include/nodes/nodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h index ffeeb4919b2..03dc5307e8a 100644 --- a/src/include/nodes/nodes.h +++ b/src/include/nodes/nodes.h @@ -274,6 +274,7 @@ typedef enum NodeTag T_MemoryContext, T_AllocSetContext, T_SlabContext, + T_GenerationContext, /* * TAGS FOR VALUE NODES (value.h) |