PostgreSQL Source Code  git master
memnodes.h File Reference
#include "nodes/nodes.h"
Include dependency graph for memnodes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MemoryContextCounters
 
struct  MemoryContextMethods
 
struct  MemoryContextData
 

Macros

#define MemoryContextIsValid(context)
 

Typedefs

typedef struct MemoryContextCounters MemoryContextCounters
 
typedef void(* MemoryStatsPrintFunc) (MemoryContext context, void *passthru, const char *stats_string, bool print_to_stderr)
 
typedef struct MemoryContextMethods MemoryContextMethods
 
typedef struct MemoryContextData MemoryContextData
 

Macro Definition Documentation

◆ MemoryContextIsValid

#define MemoryContextIsValid (   context)
Value:
((context) != NULL && \
(IsA((context), AllocSetContext) || \
IsA((context), SlabContext) || \
IsA((context), GenerationContext)))
#define IsA(nodeptr, _type_)
Definition: nodes.h:158

Definition at line 145 of file memnodes.h.

Typedef Documentation

◆ MemoryContextCounters

◆ MemoryContextData

◆ MemoryContextMethods

◆ MemoryStatsPrintFunc

typedef void(* MemoryStatsPrintFunc) (MemoryContext context, void *passthru, const char *stats_string, bool print_to_stderr)

Definition at line 54 of file memnodes.h.