From: Stephen Frost Date: Wed, 14 Mar 2018 13:28:08 +0000 (-0400) Subject: Fix comment for ExecProcessReturning X-Git-Tag: aio-before-rebase-2020-06-24~5039 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=97d18ce27da47de2de60de8dfca8e364e71ff6fe;p=users%2Fandresfreund%2Fpostgres.git Fix comment for ExecProcessReturning resultRelInfo is the argument for the function, not projectReturning. Author: Etsuro Fujita Discussion: https://postgr.es/m/5AA8E11E.1040609@lab.ntt.co.jp --- diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c index c32928d9bd..3332ae4bf3 100644 --- a/src/backend/executor/nodeModifyTable.c +++ b/src/backend/executor/nodeModifyTable.c @@ -141,7 +141,7 @@ ExecCheckPlanOutput(Relation resultRel, List *targetList) /* * ExecProcessReturning --- evaluate a RETURNING list * - * projectReturning: RETURNING projection info for current result rel + * resultRelInfo: current result rel * tupleSlot: slot holding tuple actually inserted/updated/deleted * planSlot: slot holding tuple returned by top subplan node *