Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ew22j-0000mR-EN for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Mar 2018 08:45:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ew22i-0005vc-4G for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Mar 2018 08:45:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ew22h-0005vR-QA for pgsql-hackers@lists.postgresql.org; Wed, 14 Mar 2018 08:45:51 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ew22f-00012z-8V for pgsql-hackers@postgresql.org; Wed, 14 Mar 2018 08:45:50 +0000 Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id w2E8jmEG006220 for ; Wed, 14 Mar 2018 17:45:48 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 4D191638E77 for ; Wed, 14 Mar 2018 17:45:48 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 42253638D9C for ; Wed, 14 Mar 2018 17:45:48 +0900 (JST) Received: from [IPv6:::1] (unknown [129.60.241.75]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 3EF08400552 for ; Wed, 14 Mar 2018 17:45:48 +0900 (JST) Message-ID: <5AA8E11E.1040609@lab.ntt.co.jp> Date: Wed, 14 Mar 2018 17:45:18 +0900 From: Etsuro Fujita User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 Subject: Incorrect comment for ExecProcessReturning Content-Type: multipart/mixed; boundary="------------060307060407080206010600" X-CC-Mail-RelayStamp: 1 To: Pg Hackers X-TM-AS-MML: disable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------060307060407080206010600 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Here is a small patch to fix $SUBJECT, which I think is my fault when working on direct foreign-table modification. Sorry about that. Best regards, Etsuro Fujita --------------060307060407080206010600 Content-Type: text/x-diff; name="ExecProcessReturning-comment-fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ExecProcessReturning-comment-fix.patch" diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c index c32928d..3332ae4 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 * --------------060307060407080206010600--