Fix two typos in a comment
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 22 May 2020 21:39:16 +0000 (17:39 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
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 e7f23542e8027ae456886cc959216bffd23f9b88..0f124a52540a89c4eb76721cf4f6d07f1bc0862d 100644 (file)
@@ -150,9 +150,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