Fix two typos in a comment

They were introduced in 898e5e3290a7; backpatch to 12.
pull/55/head
Alvaro Herrera 5 years ago
parent eaae947e2b
commit c99cec96b8
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE
  1. 6
      src/backend/partitioning/partdesc.c

@ -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

Loading…
Cancel
Save