Skip to content

Commit c985a43

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 3bd7556 commit c985a43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/commands/tablecmds.c

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

0 commit comments

Comments
 (0)