Fix two typos in a comment

They were introduced in 898e5e3290a7; backpatch to 12.
This commit is contained in:
Alvaro Herrera 2020-05-22 17:39:16 -04:00
parent eaae947e2b
commit c99cec96b8
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE

View File

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