PostgreSQL Source Code  git master
MemoizeState Struct Reference

#include <execnodes.h>

Data Fields

ScanState ss
 
int mstatus
 
int nkeys
 
struct memoize_hash * hashtable
 
TupleDesc hashkeydesc
 
TupleTableSlottableslot
 
TupleTableSlotprobeslot
 
ExprStatecache_eq_expr
 
ExprState ** param_exprs
 
FmgrInfohashfunctions
 
Oidcollations
 
uint64 mem_used
 
uint64 mem_limit
 
MemoryContext tableContext
 
dlist_head lru_list
 
struct MemoizeTuplelast_tuple
 
struct MemoizeEntryentry
 
bool singlerow
 
MemoizeInstrumentation stats
 
SharedMemoizeInfoshared_info
 

Detailed Description

Definition at line 2086 of file execnodes.h.

Field Documentation

◆ cache_eq_expr

ExprState* MemoizeState::cache_eq_expr

Definition at line 2095 of file execnodes.h.

Referenced by ExecInitMemoize(), and MemoizeHash_equal().

◆ collations

Oid* MemoizeState::collations

Definition at line 2099 of file execnodes.h.

Referenced by ExecInitMemoize(), and MemoizeHash_hash().

◆ entry

struct MemoizeEntry* MemoizeState::entry

Definition at line 2108 of file execnodes.h.

Referenced by cache_store_tuple(), ExecMemoize(), and ExecReScanMemoize().

◆ hashfunctions

FmgrInfo* MemoizeState::hashfunctions

Definition at line 2098 of file execnodes.h.

Referenced by ExecInitMemoize(), and MemoizeHash_hash().

◆ hashkeydesc

TupleDesc MemoizeState::hashkeydesc

Definition at line 2092 of file execnodes.h.

Referenced by ExecInitMemoize().

◆ hashtable

struct memoize_hash* MemoizeState::hashtable

◆ last_tuple

struct MemoizeTuple* MemoizeState::last_tuple

Definition at line 2104 of file execnodes.h.

Referenced by cache_lookup(), cache_store_tuple(), ExecMemoize(), and ExecReScanMemoize().

◆ lru_list

dlist_head MemoizeState::lru_list

Definition at line 2103 of file execnodes.h.

Referenced by cache_lookup(), and cache_reduce_memory().

◆ mem_limit

uint64 MemoizeState::mem_limit

Definition at line 2101 of file execnodes.h.

Referenced by cache_lookup(), cache_reduce_memory(), and cache_store_tuple().

◆ mem_used

◆ mstatus

int MemoizeState::mstatus

Definition at line 2089 of file execnodes.h.

Referenced by ExecInitMemoize(), ExecMemoize(), and ExecReScanMemoize().

◆ nkeys

int MemoizeState::nkeys

Definition at line 2090 of file execnodes.h.

Referenced by ExecInitMemoize(), MemoizeHash_hash(), and prepare_probe_slot().

◆ param_exprs

ExprState** MemoizeState::param_exprs

Definition at line 2096 of file execnodes.h.

Referenced by ExecInitMemoize(), and prepare_probe_slot().

◆ probeslot

TupleTableSlot* MemoizeState::probeslot

◆ shared_info

◆ singlerow

bool MemoizeState::singlerow

Definition at line 2110 of file execnodes.h.

Referenced by ExecMemoize().

◆ ss

◆ stats

MemoizeInstrumentation MemoizeState::stats

Definition at line 2112 of file execnodes.h.

Referenced by cache_reduce_memory(), ExecEndMemoize(), ExecMemoize(), and show_memoize_info().

◆ tableContext

MemoryContext MemoizeState::tableContext

Definition at line 2102 of file execnodes.h.

Referenced by build_hash_table(), cache_lookup(), cache_store_tuple(), and ExecEndMemoize().

◆ tableslot

TupleTableSlot* MemoizeState::tableslot

Definition at line 2093 of file execnodes.h.

Referenced by ExecInitMemoize(), MemoizeHash_equal(), and prepare_probe_slot().


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