Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix an outdated and grammatically wrong comment
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 19 Mar 2022 18:31:38 +0000 (19:31 +0100)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 19 Mar 2022 18:34:04 +0000 (19:34 +0100)
Authored by Amit Langote and myself independently
Discussion: https://postgr.es/m/CA+HiwqGCjcH0gG-=tM7hhP7TEDmzrHMHJbPGSHtHgFmx9mnFkg@mail.gmail.com

src/backend/executor/nodeModifyTable.c

index 6239abae90451deae1ce215af475d5f0b04fcbe2..babf26810b7a335043c617f623d074a8f860a3cc 100644 (file)
@@ -1517,9 +1517,9 @@ ldelete:;
  * for the caller.
  *
  * False is returned if the tuple we're trying to move is found to have been
- * concurrently updated.  In that case, the caller must to check if the
- * updated tuple that's returned in *retry_slot still needs to be re-routed,
- * and call this function again or perform a regular update accordingly.
+ * concurrently updated.  In that case, the caller must check if the updated
+ * tuple (in updateCxt->cpUpdateRetrySlot) still needs to be re-routed, and
+ * call this function again or perform a regular update accordingly.
  */
 static bool
 ExecCrossPartitionUpdate(ModifyTableContext *context,