diff options
Diffstat (limited to 'src/backend/executor/execUtils.c')
-rw-r--r-- | src/backend/executor/execUtils.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/executor/execUtils.c b/src/backend/executor/execUtils.c index 0dd17b7965b..36997a49103 100644 --- a/src/backend/executor/execUtils.c +++ b/src/backend/executor/execUtils.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.91 2002/12/05 15:50:32 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.92 2002/12/13 19:45:52 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -321,9 +321,9 @@ ExecAssignResultTypeFromTL(PlanState *planstate) } /* - * XXX Some plan nodes don't bother to set up planstate->targetlist, - * so use the underlying plan's targetlist instead. This will probably - * need to be fixed later. + * ExecTypeFromTL needs the parse-time representation of the tlist, not + * a list of ExprStates. This is good because some plan nodes don't + * bother to set up planstate->targetlist ... */ tupDesc = ExecTypeFromTL(planstate->plan->targetlist, hasoid); ExecAssignResultType(planstate, tupDesc, true); @@ -681,7 +681,7 @@ ExecInsertIndexTuples(TupleTableSlot *slot, continue; indexInfo = indexInfoArray[i]; - predicate = indexInfo->ii_Predicate; + predicate = indexInfo->ii_PredicateState; if (predicate != NIL) { /* Skip this index-update if the predicate isn't satisfied */ |