Fix two typos in a comment
authorAlvaro Herrera
Fri, 22 May 2020 21:39:16 +0000 (17:39 -0400)
committerAlvaro Herrera
Fri, 22 May 2020 21:39:16 +0000 (17:39 -0400)
They were introduced in 898e5e3290a7; backpatch to 12.

src/backend/partitioning/partdesc.c

index b207b765f2a5fb6d476b068acf84e256012b7b4f..ae193681b968bcfd8a40751dc71f10aac438a303 100644 (file)
@@ -116,9 +116,9 @@ RelationBuildPartitionDesc(Relation rel)
         * tuple or an old one where relpartbound is NULL.  In that case, try
         * the table directly.  We can't just AcceptInvalidationMessages() and
         * retry the system cache lookup because it's possible that a
-        * concurrent ATTACH PARTITION operation has removed itself to the
-        * ProcArray but yet added invalidation messages to the shared queue;
-        * InvalidateSystemCaches() would work, but seems excessive.
+        * concurrent ATTACH PARTITION operation has removed itself from the
+        * ProcArray but not yet added invalidation messages to the shared
+        * queue; InvalidateSystemCaches() would work, but seems excessive.
         *
         * Note that this algorithm assumes that PartitionBoundSpec we manage
         * to fetch is the right one -- so this is only good enough for