mirror of
https://github.com/postgres/postgres.git
synced 2025-10-09 00:05:07 -04:00
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.
29 lines
881 B
C
29 lines
881 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* nodeSubplan.h
|
|
*
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: nodeSubplan.h,v 1.14 2002/12/13 19:45:56 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef NODESUBPLAN_H
|
|
#define NODESUBPLAN_H
|
|
|
|
#include "nodes/execnodes.h"
|
|
|
|
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(SubPlanExprState *node, ExprContext *econtext);
|
|
|
|
#endif /* NODESUBPLAN_H */
|