Skip to content

Commit 6738554

Browse files
committed
Add missing words in comment
Reported by Zhihong Yu. Discussion: https://postgr.es/m/CALNJ-vR6uZivg_XkB1zKjEXeyZDEgoYanFXB-++1kBT9yZQoUw@mail.gmail.com
1 parent d6d1dfc commit 6738554

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/commands/tablecmds.c

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

0 commit comments

Comments
 (0)