1998-02-12 22:46:56 -05:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-02-13 18:22:53 -05:00
|
|
|
* nodeSubplan.h
|
1998-02-12 22:46:56 -05:00
|
|
|
*
|
2002-12-05 10:50:39 -05:00
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
|
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
*
|
2002-12-13 14:46:01 -05:00
|
|
|
* $Id: nodeSubplan.h,v 1.14 2002/12/13 19:45:56 tgl Exp $
|
2002-12-05 10:50:39 -05:00
|
|
|
*
|
1998-02-12 22:46:56 -05:00
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
#ifndef NODESUBPLAN_H
|
|
|
|
|
#define NODESUBPLAN_H
|
|
|
|
|
|
2002-12-05 10:50:39 -05:00
|
|
|
#include "nodes/execnodes.h"
|
1998-02-12 22:46:56 -05:00
|
|
|
|
2002-12-13 14:46:01 -05:00
|
|
|
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);
|
2002-12-05 10:50:39 -05:00
|
|
|
|
2002-12-13 14:46:01 -05:00
|
|
|
extern void ExecSetParamPlan(SubPlanExprState *node, ExprContext *econtext);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* NODESUBPLAN_H */
|