From cefe182533f38406e032b573dcf506c8da2b0faf Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 17 Nov 2022 12:52:20 +0100 Subject: [PATCH] Fix outdated comment in ExecDelete This commend references a struct that disappeared before MERGE was merged ... and ExecDelete is not called by the committed MERGE anyway. Revert to the original wording. Backpatch to 15 --- src/backend/executor/nodeModifyTable.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c index 07cd9d3afe..ca95c1d433 100644 --- a/src/backend/executor/nodeModifyTable.c +++ b/src/backend/executor/nodeModifyTable.c @@ -1515,13 +1515,7 @@ ldelete:; ereport(ERROR, (errcode(ERRCODE_T_R_SERIALIZATION_FAILURE), errmsg("could not serialize access due to concurrent delete"))); - - /* - * tuple already deleted; nothing to do. But MERGE might want - * to handle it differently. We've already filled-in - * actionInfo with sufficient information for MERGE to look - * at. - */ + /* tuple already deleted; nothing to do */ return NULL; default: