Update neglected comment.
authorRobert Haas <rhaas@postgresql.org>
Thu, 19 Dec 2019 14:24:44 +0000 (09:24 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 19 Dec 2019 14:24:44 +0000 (09:24 -0500)
Commit d986d4e87f61c68f52c68ebc274960dc664b7b4e renamed a variable
but neglected to update the corresponding comment.

Amit Langote

src/backend/commands/trigger.c

index faeea16d21ae0115fa3c36ac3f45fde098682412..99cb5bf557b8012bea64b44a5f821d643a69b5c8 100644 (file)
@@ -3033,8 +3033,8 @@ ExecBRUpdateTriggers(EState *estate, EPQState *epqstate,
        /*
         * In READ COMMITTED isolation level it's possible that target tuple
         * was changed due to concurrent update.  In that case we have a raw
-        * subplan output tuple in newSlot, and need to run it through the
-        * junk filter to produce an insertable tuple.
+        * subplan output tuple in epqslot_candidate, and need to run it
+        * through the junk filter to produce an insertable tuple.
         *
         * Caution: more than likely, the passed-in slot is the same as the
         * junkfilter's output slot, so we are clobbering the original value