mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Remove obsoleted code relating to targetlist SRF evaluation.
Since 69f4b9c
plain expression evaluation (and thus normal projection)
can't return sets of tuples anymore. Thus remove code dealing with
that possibility.
This will require adjustments in external code using
ExecEvalExpr()/ExecProject() - that should neither be hard nor very
common.
Author: Andres Freund and Tom Lane
Discussion: https://postgr.es/m/20160822214023.aaxz5l4igypowyri@alap3.anarazel.de
This commit is contained in:
@ -175,7 +175,7 @@ ExecProcessReturning(ResultRelInfo *resultRelInfo,
|
||||
econtext->ecxt_outertuple = planSlot;
|
||||
|
||||
/* Compute the RETURNING expressions */
|
||||
return ExecProject(projectReturning, NULL);
|
||||
return ExecProject(projectReturning);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1300,7 +1300,7 @@ ExecOnConflictUpdate(ModifyTableState *mtstate,
|
||||
}
|
||||
|
||||
/* Project the new tuple version */
|
||||
ExecProject(resultRelInfo->ri_onConflictSetProj, NULL);
|
||||
ExecProject(resultRelInfo->ri_onConflictSetProj);
|
||||
|
||||
/*
|
||||
* Note that it is possible that the target tuple has been modified in
|
||||
|
Reference in New Issue
Block a user