From 3a4f7dde16ad81b2319b9a4924a6023710a2fefd Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 13 Dec 2002 19:46:01 +0000 Subject: Phase 3 of read-only-plans project: ExecInitExpr now builds expression execution state trees, and ExecEvalExpr takes an expression state tree not an expression plan tree. The plan tree is now read-only as far as the executor is concerned. Next step is to begin actually exploiting this property. --- src/include/executor/nodeSubplan.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/include/executor/nodeSubplan.h') diff --git a/src/include/executor/nodeSubplan.h b/src/include/executor/nodeSubplan.h index e025c9de69..97f4b66bcd 100644 --- a/src/include/executor/nodeSubplan.h +++ b/src/include/executor/nodeSubplan.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: nodeSubplan.h,v 1.13 2002/12/12 15:49:40 tgl Exp $ + * $Id: nodeSubplan.h,v 1.14 2002/12/13 19:45:56 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -16,12 +16,13 @@ #include "nodes/execnodes.h" -extern SubPlanState *ExecInitSubPlan(SubPlanExpr *node, EState *estate); -extern Datum ExecSubPlan(SubPlanState *node, List *pvar, ExprContext *econtext, - bool *isNull); -extern void ExecEndSubPlan(SubPlanState *node); -extern void ExecReScanSetParamPlan(SubPlanState *node, PlanState *parent); +extern void ExecInitSubPlan(SubPlanExprState *sstate, EState *estate); +extern Datum ExecSubPlan(SubPlanExprState *node, + ExprContext *econtext, + bool *isNull); +extern void ExecEndSubPlan(SubPlanExprState *node); +extern void ExecReScanSetParamPlan(SubPlanExprState *node, PlanState *parent); -extern void ExecSetParamPlan(SubPlanState *node, ExprContext *econtext); +extern void ExecSetParamPlan(SubPlanExprState *node, ExprContext *econtext); #endif /* NODESUBPLAN_H */ -- cgit v1.2.1