Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit57f06a7

Browse files
committed
Fix obsolete comment.
The 'orig_slot' argument was removed in commitc0a8ae7, but thatcommit forgot to update the comment.Author: Amit LangoteDiscussion:https://www.postgresql.org/message-id/194ac4bf-7b4a-c887-bf26-bc1a85ea995a@lab.ntt.co.jp
1 parenteee381e commit57f06a7

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

‎src/backend/executor/nodeModifyTable.c

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,13 +1162,10 @@ lreplace:;
11621162
}
11631163

11641164
/*
1165-
* Check the constraints of the tuple. Note that we pass the same
1166-
* slot for the orig_slot argument, because unlike ExecInsert(), no
1167-
* tuple-routing is performed here, hence the slot remains unchanged.
1168-
* We've already checked the partition constraint above; however, we
1169-
* must still ensure the tuple passes all other constraints, so we
1170-
* will call ExecConstraints() and have it validate all remaining
1171-
* checks.
1165+
* Check the constraints of the tuple. We've already checked the
1166+
* partition constraint above; however, we must still ensure the tuple
1167+
* passes all other constraints, so we will call ExecConstraints() and
1168+
* have it validate all remaining checks.
11721169
*/
11731170
if (resultRelationDesc->rd_att->constr)
11741171
ExecConstraints(resultRelInfo,slot,estate, false);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp