Commit c985a43d authored by Alvaro Herrera's avatar Alvaro Herrera

Add missing words in comment

Reported by Zhihong Yu.

Discussion: https://postgr.es/m/CALNJ-vR6uZivg_XkB1zKjEXeyZDEgoYanFXB-++1kBT9yZQoUw@mail.gmail.com
parent 3bd7556b
...@@ -17738,9 +17738,9 @@ ATExecDetachPartition(List **wqueue, AlteredTableInfo *tab, Relation rel, ...@@ -17738,9 +17738,9 @@ ATExecDetachPartition(List **wqueue, AlteredTableInfo *tab, Relation rel,
* constraint would change. And there's a definitional problem: what * constraint would change. And there's a definitional problem: what
* should happen to the tuples that are being inserted that belong to * should happen to the tuples that are being inserted that belong to
* the partition being detached? Putting them on the partition being * the partition being detached? Putting them on the partition being
* detached would be wrong, since they'd become "lost" after the but * detached would be wrong, since they'd become "lost" after the
* we cannot put them in the default partition either until we alter * detaching completes but we cannot put them in the default partition
* its partition constraint. * either until we alter its partition constraint.
* *
* I think we could solve this problem if we effected the constraint * I think we could solve this problem if we effected the constraint
* change before committing the first transaction. But the lock would * change before committing the first transaction. But the lock would
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment