Header And Logo

PostgreSQL
| The world's most advanced open source database.

Data Fields

MemoryContextMethods Struct Reference

#include <memnodes.h>

Data Fields

void *(* alloc )(MemoryContext context, Size size)
void(* free_p )(MemoryContext context, void *pointer)
void *(* realloc )(MemoryContext context, void *pointer, Size size)
void(* init )(MemoryContext context)
void(* reset )(MemoryContext context)
void(* delete_context )(MemoryContext context)
Size(* get_chunk_space )(MemoryContext context, void *pointer)
bool(* is_empty )(MemoryContext context)
void(* stats )(MemoryContext context, int level)

Detailed Description

Definition at line 36 of file memnodes.h.


Field Documentation

Definition at line 44 of file memnodes.h.

Referenced by MemoryContextDelete().

void(* MemoryContextMethods::free_p)(MemoryContext context, void *pointer)

Definition at line 40 of file memnodes.h.

Referenced by pfree().

Definition at line 45 of file memnodes.h.

Referenced by GetMemoryChunkSpace().

Definition at line 42 of file memnodes.h.

Referenced by MemoryContextCreate().

Definition at line 46 of file memnodes.h.

Referenced by MemoryContextIsEmpty().

void*(* MemoryContextMethods::realloc)(MemoryContext context, void *pointer, Size size)

Definition at line 41 of file memnodes.h.

Referenced by repalloc().

Definition at line 43 of file memnodes.h.

Referenced by MemoryContextReset().

void(* MemoryContextMethods::stats)(MemoryContext context, int level)

Definition at line 47 of file memnodes.h.

Referenced by MemoryContextStatsInternal().


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