mirror of
https://github.com/postgres/postgres.git
synced 2026-01-13 12:22:55 +03:00
in the planned representation of a subplan at all any more, only SubPlan. This means subselect.c doesn't scribble on its input anymore, which seems like a good thing; and there are no longer three different possible interpretations of a SubLink. Simplify node naming and improve comments in primnodes.h. No change to stored rules, though.
29 lines
859 B
C
29 lines
859 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.15 2002/12/14 00:17:59 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef NODESUBPLAN_H
|
|
#define NODESUBPLAN_H
|
|
|
|
#include "nodes/execnodes.h"
|
|
|
|
extern void ExecInitSubPlan(SubPlanState *node, EState *estate);
|
|
extern Datum ExecSubPlan(SubPlanState *node,
|
|
ExprContext *econtext,
|
|
bool *isNull);
|
|
extern void ExecEndSubPlan(SubPlanState *node);
|
|
extern void ExecReScanSetParamPlan(SubPlanState *node, PlanState *parent);
|
|
|
|
extern void ExecSetParamPlan(SubPlanState *node, ExprContext *econtext);
|
|
|
|
#endif /* NODESUBPLAN_H */
|