diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-11-22 12:38:41 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-11-22 12:38:41 -0300 |
commit | c985a43df379e044e0de43c41daa1ba0847de459 (patch) | |
tree | ba8112546493a7ddfc608165ebfa50c4efbf89ea /src | |
parent | 3bd7556bbe0ade42552e3a094c3b0fd99039854e (diff) | |
download | postgresql-c985a43df379e044e0de43c41daa1ba0847de459.tar.gz postgresql-c985a43df379e044e0de43c41daa1ba0847de459.zip |
Add missing words in comment
Reported by Zhihong Yu.
Discussion: https://postgr.es/m/CALNJ-vR6uZivg_XkB1zKjEXeyZDEgoYanFXB-++1kBT9yZQoUw@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/tablecmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index e82a6d0d81d..6dacda0634e 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -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 |