1998-02-13 04:46:56 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* nodeSubplan.h
|
1998-02-13 04:46:56 +01:00
|
|
|
*
|
2002-12-05 16:50:39 +01:00
|
|
|
*
|
|
|
|
*
|
2008-01-01 20:46:01 +01:00
|
|
|
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
|
2002-12-05 16:50:39 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2008-01-01 20:46:01 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/executor/nodeSubplan.h,v 1.27 2008/01/01 19:45:57 momjian Exp $
|
2002-12-05 16:50:39 +01:00
|
|
|
*
|
1998-02-13 04:46:56 +01:00
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef NODESUBPLAN_H
|
|
|
|
#define NODESUBPLAN_H
|
|
|
|
|
2002-12-05 16:50:39 +01:00
|
|
|
#include "nodes/execnodes.h"
|
1998-02-13 04:46:56 +01:00
|
|
|
|
2007-02-27 02:11:26 +01:00
|
|
|
extern SubPlanState *ExecInitSubPlan(SubPlan *subplan, PlanState *parent);
|
2003-08-08 23:42:59 +02:00
|
|
|
extern Datum ExecSubPlan(SubPlanState *node,
|
2003-08-04 02:43:34 +02:00
|
|
|
ExprContext *econtext,
|
2004-03-17 02:02:24 +01:00
|
|
|
bool *isNull,
|
|
|
|
ExprDoneCond *isDone);
|
2007-02-27 02:11:26 +01:00
|
|
|
|
2003-08-08 23:42:59 +02:00
|
|
|
extern void ExecReScanSetParamPlan(SubPlanState *node, PlanState *parent);
|
2002-12-05 16:50:39 +01:00
|
|
|
|
2003-08-08 23:42:59 +02:00
|
|
|
extern void ExecSetParamPlan(SubPlanState *node, ExprContext *econtext);
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* NODESUBPLAN_H */
|