From 3a4f7dde16ad81b2319b9a4924a6023710a2fefd Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 13 Dec 2002 19:46:01 +0000 Subject: 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. --- src/backend/nodes/copyfuncs.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/backend/nodes/copyfuncs.c') diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index 258e1a1188c..d84e6061246 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -15,7 +15,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.231 2002/12/12 20:35:12 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.232 2002/12/13 19:45:56 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -710,7 +710,6 @@ _copyAggref(Aggref *from) COPY_NODE_FIELD(target); COPY_SCALAR_FIELD(aggstar); COPY_SCALAR_FIELD(aggdistinct); - COPY_SCALAR_FIELD(aggno); /* will go away soon */ return newnode; } @@ -750,9 +749,6 @@ _copyFuncExpr(FuncExpr *from) COPY_SCALAR_FIELD(funcformat); COPY_NODE_FIELD(args); - /* Do not copy the run-time state, if any */ - newnode->func_fcache = NULL; - return newnode; } @@ -770,9 +766,6 @@ _copyOpExpr(OpExpr *from) COPY_SCALAR_FIELD(opretset); COPY_NODE_FIELD(args); - /* Do not copy the run-time state, if any */ - newnode->op_fcache = NULL; - return newnode; } @@ -790,9 +783,6 @@ _copyDistinctExpr(DistinctExpr *from) COPY_SCALAR_FIELD(opretset); COPY_NODE_FIELD(args); - /* Do not copy the run-time state, if any */ - newnode->op_fcache = NULL; - return newnode; } -- cgit v1.2.3