Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cefe182

Browse files
committed
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
1 parent 1eaa48e commit cefe182

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/backend/executor/nodeModifyTable.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,13 +1515,7 @@ ldelete:;
15151515
ereport(ERROR,
15161516
(errcode(ERRCODE_T_R_SERIALIZATION_FAILURE),
15171517
errmsg("could not serialize access due to concurrent delete")));
1518-
1519-
/*
1520-
* tuple already deleted; nothing to do. But MERGE might want
1521-
* to handle it differently. We've already filled-in
1522-
* actionInfo with sufficient information for MERGE to look
1523-
* at.
1524-
*/
1518+
/* tuple already deleted; nothing to do */
15251519
return NULL;
15261520

15271521
default:

0 commit comments

Comments
 (0)