mirror of
https://github.com/postgres/postgres.git
synced 2026-02-03 20:40:14 -05:00
so that all executable expression nodes inherit from a common supertype Expr. This is somewhat of an exercise in code purity rather than any real functional advance, but getting rid of the extra Oper or Func node formerly used in each operator or function call should provide at least a little space and speed improvement. initdb forced by changes in stored-rules representation.
27 lines
868 B
C
27 lines
868 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.13 2002/12/12 15:49:40 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef NODESUBPLAN_H
|
|
#define NODESUBPLAN_H
|
|
|
|
#include "nodes/execnodes.h"
|
|
|
|
extern SubPlanState *ExecInitSubPlan(SubPlanExpr *node, EState *estate);
|
|
extern Datum ExecSubPlan(SubPlanState *node, List *pvar, 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 */
|