PostgreSQL Source Code  git master
MemoryContextData Struct Reference

#include <memnodes.h>

Public Member Functions

 pg_node_attr (abstract) NodeTag type
 

Data Fields

bool isReset
 
bool allowInCritSection
 
Size mem_allocated
 
const MemoryContextMethodsmethods
 
MemoryContext parent
 
MemoryContext firstchild
 
MemoryContext prevchild
 
MemoryContext nextchild
 
const char * name
 
const char * ident
 
MemoryContextCallbackreset_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

Definition at line 124 of file memnodes.h.

Referenced by MemoryContextCreate().

◆ firstchild

◆ ident

const char* MemoryContextData::ident

Definition at line 132 of file memnodes.h.

Referenced by MemoryContextCreate().

◆ isReset

bool MemoryContextData::isReset

Definition at line 123 of file memnodes.h.

Referenced by MemoryContextCreate().

◆ mem_allocated

Size MemoryContextData::mem_allocated

Definition at line 125 of file memnodes.h.

Referenced by AllocSetFree(), AllocSetRealloc(), MemoryContextCreate(), and SlabFree().

◆ methods

const MemoryContextMethods* MemoryContextData::methods

Definition at line 126 of file memnodes.h.

Referenced by MemoryContextCreate(), and MemoryContextStatsInternal().

◆ name

const char* MemoryContextData::name

Definition at line 131 of file memnodes.h.

Referenced by AllocSetFree(), AllocSetRealloc(), MemoryContextCreate(), and SlabFree().

◆ nextchild

◆ parent

MemoryContext MemoryContextData::parent

Definition at line 127 of file memnodes.h.

Referenced by MemoryContextCreate(), MemoryContextDelete(), and MemoryContextTraverseNext().

◆ prevchild

MemoryContext MemoryContextData::prevchild

Definition at line 129 of file memnodes.h.

Referenced by MemoryContextCreate(), and MemoryContextSetParent().

◆ reset_cbs

MemoryContextCallback* MemoryContextData::reset_cbs

Definition at line 133 of file memnodes.h.

Referenced by MemoryContextCreate().


The documentation for this struct was generated from the following file: