PostgreSQL Source Code  git master
nodeResultCache.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * nodeResultCache.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/nodeResultCache.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef NODERESULTCACHE_H
15 #define NODERESULTCACHE_H
16 
17 #include "access/parallel.h"
18 #include "nodes/execnodes.h"
19 
20 extern ResultCacheState *ExecInitResultCache(ResultCache *node, EState *estate, int eflags);
21 extern void ExecEndResultCache(ResultCacheState *node);
22 extern void ExecReScanResultCache(ResultCacheState *node);
23 extern double ExecEstimateCacheEntryOverheadBytes(double ntuples);
25  ParallelContext *pcxt);
27  ParallelContext *pcxt);
29  ParallelWorkerContext *pwcxt);
31 
32 #endif /* NODERESULTCACHE_H */
void ExecResultCacheEstimate(ResultCacheState *node, ParallelContext *pcxt)
ResultCacheState * ExecInitResultCache(ResultCache *node, EState *estate, int eflags)
void ExecReScanResultCache(ResultCacheState *node)
double ExecEstimateCacheEntryOverheadBytes(double ntuples)
void ExecResultCacheInitializeWorker(ResultCacheState *node, ParallelWorkerContext *pwcxt)
void ExecResultCacheInitializeDSM(ResultCacheState *node, ParallelContext *pcxt)
void ExecEndResultCache(ResultCacheState *node)
void ExecResultCacheRetrieveInstrumentation(ResultCacheState *node)