diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2018-06-07 09:56:22 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2018-06-07 09:56:22 +0300 |
commit | 57f06a7611cc4806f581ae838f145181164056d4 (patch) | |
tree | b8335d6929ccbce1f05de579ac62fc551c45000d /src/backend/executor/nodeModifyTable.c | |
parent | eee381ef5ec4b16cff37865ccd70510e1e1abcdc (diff) | |
download | postgresql-57f06a7611cc4806f581ae838f145181164056d4.tar.gz postgresql-57f06a7611cc4806f581ae838f145181164056d4.zip |
Fix obsolete comment.
The 'orig_slot' argument was removed in commit c0a8ae7be392, 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
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
-rw-r--r-- | src/backend/executor/nodeModifyTable.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c index c4c841cdd79..2a4dfea1511 100644 --- a/src/backend/executor/nodeModifyTable.c +++ b/src/backend/executor/nodeModifyTable.c @@ -1162,13 +1162,10 @@ lreplace:; } /* - * Check the constraints of the tuple. Note that we pass the same - * slot for the orig_slot argument, because unlike ExecInsert(), no - * tuple-routing is performed here, hence the slot remains unchanged. - * We've already checked the partition constraint above; however, we - * must still ensure the tuple passes all other constraints, so we - * will call ExecConstraints() and have it validate all remaining - * checks. + * Check the constraints of the tuple. We've already checked the + * partition constraint above; however, we must still ensure the tuple + * passes all other constraints, so we will call ExecConstraints() and + * have it validate all remaining checks. */ if (resultRelationDesc->rd_att->constr) ExecConstraints(resultRelInfo, slot, estate, false); |