PostgreSQL Source Code: MemoryContextMethods Struct Reference (original) (raw)

#include <[memnodes.h](memnodes%5F8h%5Fsource.html)>

Data Fields
void *(* alloc )(MemoryContext context, Size size, int flags)
void(* free_p )(void *pointer)
void *(* realloc )(void *pointer, Size size, int flags)
void(* reset )(MemoryContext context)
void(* delete_context )(MemoryContext context)
MemoryContext(* get_chunk_context )(void *pointer)
Size(* get_chunk_space )(void *pointer)
bool(* is_empty )(MemoryContext context)
void(* stats )(MemoryContext context, MemoryStatsPrintFunc printfunc, void *passthru, MemoryContextCounters *totals, bool print_to_stderr)

Definition at line 58 of file memnodes.h.

alloc

delete_context

void(* MemoryContextMethods::delete_context) (MemoryContext context)

free_p

void(* MemoryContextMethods::free_p) (void *pointer)

get_chunk_context

MemoryContext(* MemoryContextMethods::get_chunk_context) (void *pointer)

get_chunk_space

Size(* MemoryContextMethods::get_chunk_space) (void *pointer)

is_empty

realloc

void *(* MemoryContextMethods::realloc) (void *pointer, Size size, int flags)

reset

stats


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