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/backend/nodes/readfuncs.c | |
parent | 77b7a740f95250af7d78f69e9c906c3e53f32e7b (diff) | |
download | postgresql-3a4f7dde16ad81b2319b9a4924a6023710a2fefd.tar.gz postgresql-3a4f7dde16ad81b2319b9a4924a6023710a2fefd.zip |
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/backend/nodes/readfuncs.c')
-rw-r--r-- | src/backend/nodes/readfuncs.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/backend/nodes/readfuncs.c b/src/backend/nodes/readfuncs.c index ba46a4f088c..54e3916ebf6 100644 --- a/src/backend/nodes/readfuncs.c +++ b/src/backend/nodes/readfuncs.c @@ -8,12 +8,13 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.142 2002/12/12 20:35:12 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.143 2002/12/13 19:45:56 tgl Exp $ * * NOTES * Path and Plan nodes do not have any readfuncs support, because we * never have occasion to read them in. (There was once code here that - * claimed to read them, but it was broken as well as unused.) + * claimed to read them, but it was broken as well as unused.) We + * never read executor state trees, either. * *------------------------------------------------------------------------- */ @@ -439,8 +440,6 @@ _readFuncExpr(void) READ_ENUM_FIELD(funcformat, CoercionForm); READ_NODE_FIELD(args); - local_node->func_fcache = NULL; - READ_DONE(); } @@ -468,8 +467,6 @@ _readOpExpr(void) READ_BOOL_FIELD(opretset); READ_NODE_FIELD(args); - local_node->op_fcache = NULL; - READ_DONE(); } @@ -497,8 +494,6 @@ _readDistinctExpr(void) READ_BOOL_FIELD(opretset); READ_NODE_FIELD(args); - local_node->op_fcache = NULL; - READ_DONE(); } |