aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-06-07 09:56:22 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-06-07 10:02:09 +0300
commit0692f29ab70c7d12d5d6c19eb30a7017a6693b83 (patch)
tree202c14957f3e75400cdef75a310009f04af92e5b /src/backend/executor/nodeModifyTable.c
parent1d5b249310553c05e6ed1d647734d41be174e634 (diff)
downloadpostgresql-0692f29ab70c7d12d5d6c19eb30a7017a6693b83.tar.gz
postgresql-0692f29ab70c7d12d5d6c19eb30a7017a6693b83.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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c
index f42d33a9694..acd27b04821 100644
--- a/src/backend/executor/nodeModifyTable.c
+++ b/src/backend/executor/nodeModifyTable.c
@@ -947,9 +947,7 @@ lreplace:;
resultRelInfo, slot, estate);
/*
- * 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.
+ * Check the constraints of the tuple
*/
if (resultRelationDesc->rd_att->constr || resultRelInfo->ri_PartitionCheck)
ExecConstraints(resultRelInfo, slot, estate);