Content-Length: 274343 | pFad | http://github.com/postgrespro/postgres_cluster/commit/57f06a7611cc4806f581ae838f145181164056d4

F6 Fix obsolete comment. · postgrespro/postgres_cluster@57f06a7 · GitHub
Skip to content

Commit 57f06a7

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 eee381e commit 57f06a7

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/57f06a7611cc4806f581ae838f145181164056d4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy