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-12 10:49:42 -05:00
|
|
|
* $Id: nodeSubplan.h,v 1.13 2002/12/12 15:49:40 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-12 10:49:42 -05:00
|
|
|
extern SubPlanState *ExecInitSubPlan(SubPlanExpr *node, EState *estate);
|
2002-12-05 10:50:39 -05:00
|
|
|
extern Datum ExecSubPlan(SubPlanState *node, List *pvar, ExprContext *econtext,
|
2000-04-12 13:17:23 -04:00
|
|
|
bool *isNull);
|
2002-12-05 10:50:39 -05:00
|
|
|
extern void ExecEndSubPlan(SubPlanState *node);
|
|
|
|
|
extern void ExecReScanSetParamPlan(SubPlanState *node, PlanState *parent);
|
|
|
|
|
|
|
|
|
|
extern void ExecSetParamPlan(SubPlanState *node, ExprContext *econtext);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* NODESUBPLAN_H */
|