remove duplicate comment.

Started by Amul Sulalmost 3 years ago2 messages
#1Amul Sul
sulamul@gmail.com
1 attachment(s)

Hi,

The attached patch removes the comment line noting the same as the
previous paragraph of the ExecUpdateAct() prolog comment.

--
Regards,
Amul Sul
EDB: http://www.enterprisedb.com

Attachments:

remove_duplicated_comment.patchapplication/x-patch; name=remove_duplicated_comment.patchDownload
diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c
index f419c47065a..645e62f4a76 100644
--- a/src/backend/executor/nodeModifyTable.c
+++ b/src/backend/executor/nodeModifyTable.c
@@ -1948,9 +1948,6 @@ ExecUpdatePrepareSlot(ResultRelInfo *resultRelInfo,
  * caller is also in charge of doing EvalPlanQual if the tuple is found to
  * be concurrently updated.  However, in case of a cross-partition update,
  * this routine does it.
- *
- * Caller is in charge of doing EvalPlanQual as necessary, and of keeping
- * indexes current for the update.
  */
 static TM_Result
 ExecUpdateAct(ModifyTableContext *context, ResultRelInfo *resultRelInfo,
#2Michael Paquier
michael@paquier.xyz
In reply to: Amul Sul (#1)
Re: remove duplicate comment.

On Thu, Feb 16, 2023 at 11:05:13AM +0530, Amul Sul wrote:

The attached patch removes the comment line noting the same as the
previous paragraph of the ExecUpdateAct() prolog comment.

- * Caller is in charge of doing EvalPlanQual as necessary, and of keeping
- * indexes current for the update.

Indeed, good catch. Both are mentioned in the previous paragraph.
--
Michael