diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-12-13 19:46:01 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-12-13 19:46:01 +0000 |
| commit | 3a4f7dde16ad81b2319b9a4924a6023710a2fefd (patch) | |
| tree | 248cf66fd94d40072b5ba8bb8e5437a6ea8399e5 /src/include/nodes/primnodes.h | |
| parent | 77b7a740f95250af7d78f69e9c906c3e53f32e7b (diff) | |
| download | postgresql-3a4f7dde16ad81b2319b9a4924a6023710a2fefd.tar.gz | |
Phase 3 of read-only-plans project: ExecInitExpr now builds expression
execution state trees, and ExecEvalExpr takes an expression state tree
not an expression plan tree. The plan tree is now read-only as far as
the executor is concerned. Next step is to begin actually exploiting
this property.
Diffstat (limited to 'src/include/nodes/primnodes.h')
| -rw-r--r-- | src/include/nodes/primnodes.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/include/nodes/primnodes.h b/src/include/nodes/primnodes.h index ae0df7e441..01a6dbf8d6 100644 --- a/src/include/nodes/primnodes.h +++ b/src/include/nodes/primnodes.h @@ -10,7 +10,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: primnodes.h,v 1.73 2002/12/12 20:35:16 tgl Exp $ + * $Id: primnodes.h,v 1.74 2002/12/13 19:46:00 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -20,9 +20,6 @@ #include "access/attnum.h" #include "nodes/pg_list.h" -/* FunctionCache is declared in utils/fcache.h */ -typedef struct FunctionCache *FunctionCachePtr; - /* ---------------------------------------------------------------- * node definitions @@ -221,9 +218,6 @@ typedef struct Aggref Expr *target; /* expression we are aggregating on */ bool aggstar; /* TRUE if argument was really '*' */ bool aggdistinct; /* TRUE if it's agg(DISTINCT ...) */ - - /* XXX this should move to AggrefExprState: */ - int aggno; /* workspace for executor (see nodeAgg.c) */ } Aggref; /* ---------------- @@ -307,8 +301,6 @@ typedef struct FuncExpr bool funcretset; /* true if function returns set */ CoercionForm funcformat; /* how to display this function call */ List *args; /* arguments to the function */ - - FunctionCachePtr func_fcache; /* XXX runtime state, or NULL */ } FuncExpr; /* @@ -328,8 +320,6 @@ typedef struct OpExpr Oid opresulttype; /* PG_TYPE OID of result value */ bool opretset; /* true if operator returns set */ List *args; /* arguments to the operator (1 or 2) */ - - FunctionCachePtr op_fcache; /* XXX runtime state, else NULL */ } OpExpr; /* @@ -463,8 +453,6 @@ typedef struct SubPlanExpr SubLink *sublink; /* SubLink node from parser; holds info * about what to do with subselect's * results */ - - struct SubPlanState *pstate; /* XXX TEMPORARY HACK */ } SubPlanExpr; /* ---------------- |
