]> granicus.if.org Git - postgresql/commitdiff
Expand comment a little bit
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 19 Mar 2018 21:01:14 +0000 (18:01 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 19 Mar 2018 21:01:27 +0000 (18:01 -0300)
The previous commit removed a comment that was a bit more verbose than
its replacement.

src/backend/executor/nodeModifyTable.c

index 9260236e4d93faec9eb508d2882f371527521f73..a7cfe104d09f4a35ea4b371b3b3d77355f381a03 100644 (file)
@@ -1116,7 +1116,10 @@ lreplace:;
                                                                                          proute->root_tuple_slot,
                                                                                          &slot);
 
-                       /* Prepare for tuple routing */
+                       /*
+                        * Prepare for tuple routing, making it look like we're inserting
+                        * into the root.
+                        */
                        Assert(mtstate->rootResultRelInfo != NULL);
                        slot = ExecPrepareTupleRouting(mtstate, estate, proute,
                                                                                   mtstate->rootResultRelInfo, slot);