PostgreSQL Source Code: MemoryContextData Struct Reference (original) (raw)
#include <[memnodes.h](memnodes%5F8h%5Fsource.html)>
Data Fields | |
---|---|
bool | isReset |
bool | allowInCritSection |
Size | mem_allocated |
const MemoryContextMethods * | methods |
MemoryContext | parent |
MemoryContext | firstchild |
MemoryContext | prevchild |
MemoryContext | nextchild |
const char * | name |
const char * | ident |
MemoryContextCallback * | reset_cbs |
Detailed Description
Definition at line 117 of file memnodes.h.
Member Function Documentation
◆ pg_node_attr()
MemoryContextData::pg_node_attr | ( | abstract | ) |
---|
Field Documentation
◆ allowInCritSection
bool MemoryContextData::allowInCritSection
◆ firstchild
Definition at line 128 of file memnodes.h.
Referenced by MemoryContextCreate(), MemoryContextDelete(), MemoryContextDeleteChildren(), MemoryContextDeleteOnly(), MemoryContextIsEmpty(), MemoryContextMemAllocated(), MemoryContextMemConsumed(), MemoryContextReset(), MemoryContextResetChildren(), MemoryContextSetParent(), MemoryContextStatsInternal(), MemoryContextTraverseNext(), ProcessGetMemoryContextInterrupt(), and RelationCloseCleanup().
◆ ident
const char* MemoryContextData::ident
◆ isReset
bool MemoryContextData::isReset
Definition at line 123 of file memnodes.h.
Referenced by AllocSetDelete(), AllocSetIsEmpty(), MemoryContextAlloc(), MemoryContextAllocExtended(), MemoryContextAllocHuge(), MemoryContextAllocZero(), MemoryContextCreate(), MemoryContextRegisterResetCallback(), MemoryContextReset(), MemoryContextResetOnly(), palloc(), palloc0(), palloc_extended(), repalloc(), and repalloc_extended().
◆ mem_allocated
Size MemoryContextData::mem_allocated
Definition at line 125 of file memnodes.h.
Referenced by AllocSetAllocFromNewBlock(), AllocSetAllocLarge(), AllocSetDelete(), AllocSetFree(), AllocSetRealloc(), AllocSetReset(), BumpAllocFromNewBlock(), BumpAllocLarge(), GenerationAllocFromNewBlock(), GenerationAllocLarge(), MemoryContextCreate(), MemoryContextMemAllocated(), SlabAllocFromNewBlock(), SlabFree(), SlabIsEmpty(), and SlabReset().
◆ methods
Definition at line 126 of file memnodes.h.
Referenced by MemoryContextAlloc(), MemoryContextAllocExtended(), MemoryContextAllocHuge(), MemoryContextAllocZero(), MemoryContextCreate(), MemoryContextDeleteOnly(), MemoryContextIsEmpty(), MemoryContextMemConsumed(), MemoryContextResetOnly(), MemoryContextStatsInternal(), palloc(), palloc0(), palloc_extended(), ProcessGetMemoryContextInterrupt(), and PutMemoryContextsStatsTupleStore().
◆ name
const char* MemoryContextData::name
◆ nextchild
◆ parent
◆ prevchild
◆ reset_cbs
The documentation for this struct was generated from the following file:
- src/include/nodes/memnodes.h