forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8f90381
committed
Doc: mention CREATE+ATTACH PARTITION with CREATE TABLE...PARTITION OF.
Clarify that ATTACH/DETACH PARTITION can be used to perform partitionmaintenance with less locking than straight CREATE TABLE/DROP TABLE.This was already stated in some places, but not emphasized.Back-patch to v14 where DETACH PARTITION CONCURRENTLY was added.(We had lower lock levels for ATTACH PARTITION before that, butthis wording wouldn't apply.)Justin Pryzby, reviewed by Robert Treat and Jakub Wartak;a little further wordsmithing by meDiscussion:https://postgr.es/m/20220718143304.GC18011@telsasoft.com1 parentbbf18fe commit8f90381
2 files changed
+23
-10
lines changedLines changed: 7 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3951 | 3951 |
| |
3952 | 3952 |
| |
3953 | 3953 |
| |
3954 |
| - | |
| 3954 | + | |
3955 | 3955 |
| |
3956 | 3956 |
| |
| 3957 | + | |
| 3958 | + | |
| 3959 | + | |
| 3960 | + | |
| 3961 | + | |
| 3962 | + | |
3957 | 3963 |
| |
3958 | 3964 |
| |
3959 | 3965 |
| |
| |||
3973 | 3979 |
| |
3974 | 3980 |
| |
3975 | 3981 |
| |
3976 |
| - | |
3977 |
| - | |
3978 |
| - | |
3979 |
| - | |
3980 |
| - | |
3981 | 3982 |
| |
3982 | 3983 |
| |
3983 | 3984 |
| |
|
Lines changed: 16 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
577 | 577 |
| |
578 | 578 |
| |
579 | 579 |
| |
580 |
| - | |
| 580 | + | |
| 581 | + | |
581 | 582 |
| |
582 |
| - | |
583 |
| - | |
584 |
| - | |
| 583 | + | |
585 | 584 |
| |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
586 | 598 |
| |
587 | 599 |
| |
588 | 600 |
| |
|
0 commit comments
Comments
(0)