Add missing words in comment

Reported by Zhihong Yu.

Discussion: https://postgr.es/m/CALNJ-vR6uZivg_XkB1zKjEXeyZDEgoYanFXB-++1kBT9yZQoUw@mail.gmail.com
This commit is contained in:
Alvaro Herrera 2021-11-22 12:38:41 -03:00
parent 3bd7556bbe
commit c985a43df3
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE
1 changed files with 3 additions and 3 deletions

View File

@ -17738,9 +17738,9 @@ ATExecDetachPartition(List **wqueue, AlteredTableInfo *tab, Relation rel,
* constraint would change. And there's a definitional problem: what
* should happen to the tuples that are being inserted that belong to
* the partition being detached? Putting them on the partition being
* detached would be wrong, since they'd become "lost" after the but
* we cannot put them in the default partition either until we alter
* its partition constraint.
* detached would be wrong, since they'd become "lost" after the
* detaching completes but we cannot put them in the default partition
* either until we alter its partition constraint.
*
* I think we could solve this problem if we effected the constraint
* change before committing the first transaction. But the lock would