Skip to content

Commit 0692f29

Browse files
committed
Fix obsolete comment.
The 'orig_slot' argument was removed in commit c0a8ae7, but that commit forgot to update the comment. Author: Amit Langote Discussion: https://www.postgresql.org/message-id/194ac4bf-7b4a-c887-bf26-bc1a85ea995a@lab.ntt.co.jp
1 parent 1d5b249 commit 0692f29

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/backend/executor/nodeModifyTable.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -947,9 +947,7 @@ lreplace:;
947947
resultRelInfo, slot, estate);
948948

949949
/*
950-
* Check the constraints of the tuple. Note that we pass the same
951-
* slot for the orig_slot argument, because unlike ExecInsert(), no
952-
* tuple-routing is performed here, hence the slot remains unchanged.
950+
* Check the constraints of the tuple
953951
*/
954952
if (resultRelationDesc->rd_att->constr || resultRelInfo->ri_PartitionCheck)
955953
ExecConstraints(resultRelInfo, slot, estate);

0 commit comments

Comments
 (0)