diff options
Diffstat (limited to 'src/include/executor')
-rw-r--r-- | src/include/executor/executor.h | 3 | ||||
-rw-r--r-- | src/include/executor/nodeAgg.h | 3 | ||||
-rw-r--r-- | src/include/executor/nodeHash.h | 3 | ||||
-rw-r--r-- | src/include/executor/nodeHashjoin.h | 3 | ||||
-rw-r--r-- | src/include/executor/nodeMaterial.h | 6 | ||||
-rw-r--r-- | src/include/executor/nodeNestloop.h | 3 | ||||
-rw-r--r-- | src/include/executor/nodeResult.h | 3 | ||||
-rw-r--r-- | src/include/executor/nodeSubplan.h | 20 |
8 files changed, 36 insertions, 8 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index e5251886bc5..6769c5df76c 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: executor.h,v 1.19 1998/02/10 04:02:19 momjian Exp $ + * $Id: executor.h,v 1.20 1998/02/13 03:43:33 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -108,6 +108,7 @@ extern void ExecInitOuterTupleSlot(EState *estate, HashJoinState *hashstate); extern TupleDesc ExecGetTupType(Plan *node); extern TupleDesc ExecTypeFromTL(List *targetList); +extern void SetChangedParamList (Plan *node, List *newchg); /* * prototypes from functions in execTuples.c diff --git a/src/include/executor/nodeAgg.h b/src/include/executor/nodeAgg.h index 69f791b9c9a..ca8de787d17 100644 --- a/src/include/executor/nodeAgg.h +++ b/src/include/executor/nodeAgg.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nodeAgg.h,v 1.6 1997/11/26 01:12:40 momjian Exp $ + * $Id: nodeAgg.h,v 1.7 1998/02/13 03:43:34 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -21,5 +21,6 @@ extern TupleTableSlot *ExecAgg(Agg *node); extern bool ExecInitAgg(Agg *node, EState *estate, Plan *parent); extern int ExecCountSlotsAgg(Agg *node); extern void ExecEndAgg(Agg *node); +extern void ExecReScanAgg(Agg *node, ExprContext *exprCtxt, Plan *parent); #endif /* NODEAGG_H */ diff --git a/src/include/executor/nodeHash.h b/src/include/executor/nodeHash.h index 6071eeb874a..a814c61ed6f 100644 --- a/src/include/executor/nodeHash.h +++ b/src/include/executor/nodeHash.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nodeHash.h,v 1.7 1998/01/24 22:49:01 momjian Exp $ + * $Id: nodeHash.h,v 1.8 1998/02/13 03:43:35 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -35,5 +35,6 @@ extern HeapTuple ExecScanHashBucket(HashJoinState *hjstate, HashBucket bucket, HeapTuple curtuple, List *hjclauses, ExprContext *econtext); extern void ExecHashTableReset(HashJoinTable hashtable, int ntuples); +extern void ExecReScanHash(Hash *node, ExprContext *exprCtxt, Plan *parent); #endif /* NODEHASH_H */ diff --git a/src/include/executor/nodeHashjoin.h b/src/include/executor/nodeHashjoin.h index 2acbddf0384..e88e1a67cf4 100644 --- a/src/include/executor/nodeHashjoin.h +++ b/src/include/executor/nodeHashjoin.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nodeHashjoin.h,v 1.7 1998/01/24 22:49:04 momjian Exp $ + * $Id: nodeHashjoin.h,v 1.8 1998/02/13 03:43:36 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -23,6 +23,7 @@ extern int ExecCountSlotsHashJoin(HashJoin *node); extern void ExecEndHashJoin(HashJoin *node); extern char * ExecHashJoinSaveTuple(HeapTuple heapTuple, char *buffer, File file, char *position); +extern void ExecReScanHashJoin(HashJoin *node, ExprContext *exprCtxt, Plan *parent); #endif /* NODEHASHJOIN_H */ diff --git a/src/include/executor/nodeMaterial.h b/src/include/executor/nodeMaterial.h index de010d3ab21..1c612ea4fa4 100644 --- a/src/include/executor/nodeMaterial.h +++ b/src/include/executor/nodeMaterial.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nodeMaterial.h,v 1.5 1997/11/26 01:12:53 momjian Exp $ + * $Id: nodeMaterial.h,v 1.6 1998/02/13 03:43:37 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -21,7 +21,9 @@ extern TupleTableSlot *ExecMaterial(Material *node); extern bool ExecInitMaterial(Material *node, EState *estate, Plan *parent); extern int ExecCountSlotsMaterial(Material *node); extern void ExecEndMaterial(Material *node); +extern void ExecMaterialReScan(Material *node, ExprContext *exprCtxt, Plan *parent); +#if 0 extern List ExecMaterialMarkPos(Material *node); extern void ExecMaterialRestrPos(Material *node); - +#endif #endif /* NODEMATERIAL_H */ diff --git a/src/include/executor/nodeNestloop.h b/src/include/executor/nodeNestloop.h index ec08d3a9ed8..50d2f49820f 100644 --- a/src/include/executor/nodeNestloop.h +++ b/src/include/executor/nodeNestloop.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nodeNestloop.h,v 1.5 1997/11/26 01:12:57 momjian Exp $ + * $Id: nodeNestloop.h,v 1.6 1998/02/13 03:43:38 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -21,5 +21,6 @@ extern TupleTableSlot *ExecNestLoop(NestLoop *node, Plan *parent); extern bool ExecInitNestLoop(NestLoop *node, EState *estate, Plan *parent); extern int ExecCountSlotsNestLoop(NestLoop *node); extern void ExecEndNestLoop(NestLoop *node); +extern void ExecReScanNestLoop(NestLoop *node, ExprContext *exprCtxt, Plan *parent); #endif /* NODENESTLOOP_H */ diff --git a/src/include/executor/nodeResult.h b/src/include/executor/nodeResult.h index e3ebe2241e6..fffdf52e6ab 100644 --- a/src/include/executor/nodeResult.h +++ b/src/include/executor/nodeResult.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nodeResult.h,v 1.5 1997/11/26 01:12:58 momjian Exp $ + * $Id: nodeResult.h,v 1.6 1998/02/13 03:43:39 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -21,5 +21,6 @@ extern TupleTableSlot *ExecResult(Result *node); extern bool ExecInitResult(Result *node, EState *estate, Plan *parent); extern int ExecCountSlotsResult(Result *node); extern void ExecEndResult(Result *node); +extern void ExecReScanResult(Result *node, ExprContext *exprCtxt, Plan *parent); #endif /* NODERESULT_H */ diff --git a/src/include/executor/nodeSubplan.h b/src/include/executor/nodeSubplan.h new file mode 100644 index 00000000000..6fa8945482e --- /dev/null +++ b/src/include/executor/nodeSubplan.h @@ -0,0 +1,20 @@ +/*------------------------------------------------------------------------- + * + * nodeSubplan.h-- + * + *------------------------------------------------------------------------- + */ +#ifndef NODESUBPLAN_H +#define NODESUBPLAN_H + +#include "executor/tuptable.h" +#include "nodes/execnodes.h" +#include "nodes/plannodes.h" + +extern Datum ExecSubPlan(SubPlan *node, List *pvar, ExprContext *econtext); +extern bool ExecInitSubPlan(SubPlan *node, EState *estate, Plan *parent); +extern void ExecReScanSetParamPlan (SubPlan *node, Plan *parent); +extern void ExecSetParamPlan (SubPlan *node); +extern void ExecEndSubPlan(SubPlan *node); + +#endif /* NODESUBPLAN_H */ |