PostgreSQL Source Code  git master
nodeMemoize.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * nodeMemoize.h
4  *
5  *
6  *
7  * Portions Copyright (c) 2021, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/executor/nodeMemoize.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef NODEMEMOIZE_H
15 #define NODEMEMOIZE_H
16 
17 #include "access/parallel.h"
18 #include "nodes/execnodes.h"
19 
20 extern MemoizeState *ExecInitMemoize(Memoize *node, EState *estate, int eflags);
21 extern void ExecEndMemoize(MemoizeState *node);
22 extern void ExecReScanMemoize(MemoizeState *node);
23 extern double ExecEstimateCacheEntryOverheadBytes(double ntuples);
24 extern void ExecMemoizeEstimate(MemoizeState *node,
25  ParallelContext *pcxt);
26 extern void ExecMemoizeInitializeDSM(MemoizeState *node,
27  ParallelContext *pcxt);
29  ParallelWorkerContext *pwcxt);
31 
32 #endif /* NODEMEMOIZE_H */
void ExecMemoizeInitializeDSM(MemoizeState *node, ParallelContext *pcxt)
Definition: nodeMemoize.c:1072
MemoizeState * ExecInitMemoize(Memoize *node, EState *estate, int eflags)
Definition: nodeMemoize.c:821
void ExecMemoizeRetrieveInstrumentation(MemoizeState *node)
Definition: nodeMemoize.c:1110
void ExecMemoizeEstimate(MemoizeState *node, ParallelContext *pcxt)
Definition: nodeMemoize.c:1051
double ExecEstimateCacheEntryOverheadBytes(double ntuples)
Definition: nodeMemoize.c:1033
void ExecEndMemoize(MemoizeState *node)
Definition: nodeMemoize.c:939
void ExecReScanMemoize(MemoizeState *node)
Definition: nodeMemoize.c:1007
void ExecMemoizeInitializeWorker(MemoizeState *node, ParallelWorkerContext *pwcxt)
Definition: nodeMemoize.c:1097