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
|
|
|
*
|
|
|
|
|
*
|
2008-01-01 14:46:01 -05:00
|
|
|
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
|
2002-12-05 10:50:39 -05:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
*
|
2008-01-01 14:46:01 -05:00
|
|
|
* $PostgreSQL: pgsql/src/include/executor/nodeSubplan.h,v 1.27 2008/01/01 19:45:57 momjian 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
|
|
|
|
2007-02-26 20:11:26 -05:00
|
|
|
extern SubPlanState *ExecInitSubPlan(SubPlan *subplan, PlanState *parent);
|
2003-08-08 17:42:59 -04:00
|
|
|
extern Datum ExecSubPlan(SubPlanState *node,
|
2003-08-03 20:43:34 -04:00
|
|
|
ExprContext *econtext,
|
2004-03-16 20:02:24 -05:00
|
|
|
bool *isNull,
|
|
|
|
|
ExprDoneCond *isDone);
|
2007-02-26 20:11:26 -05:00
|
|
|
|
2003-08-08 17:42:59 -04:00
|
|
|
extern void ExecReScanSetParamPlan(SubPlanState *node, PlanState *parent);
|
2002-12-05 10:50:39 -05:00
|
|
|
|
2003-08-08 17:42:59 -04:00
|
|
|
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 */
|