forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8709228
committed
Doc: Clarify lock levels taken during ATTACH PARTITION
It wasn't all that clear which lock levels, if any, would be held on theDEFAULT partition during an ATTACH PARTITION operation.Also, clarify which locks will be taken if the DEFAULT partition or thetable being attached are themselves partitioned tables.Here I'm only backpatching to v12 as before then we obtained an ACCESSEXCLUSIVE lock on the partitioned table. It seems much less relevant tomention which locks are taken on other tables when the partitioned tableitself is locked with an ACCESS EXCLUSIVE lock.Author: Matthias van de Meent, David RowleyDiscussion:https://postgr.es/m/CAEze2WiTB6iwrV8W_J=fnrnZ7fowW3qu-8iQ8zCHP3FiQ6+o-A@mail.gmail.comBackpatch-through: 121 parent7b7fbe1 commit8709228
2 files changed
+36
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3970 | 3970 |
| |
3971 | 3971 |
| |
3972 | 3972 |
| |
| 3973 | + | |
| 3974 | + | |
| 3975 | + | |
| 3976 | + | |
| 3977 | + | |
3973 | 3978 |
| |
3974 | 3979 |
| |
3975 | 3980 |
| |
| |||
3978 | 3983 |
| |
3979 | 3984 |
| |
3980 | 3985 |
| |
3981 |
| - | |
3982 |
| - | |
| 3986 | + | |
3983 | 3987 |
| |
3984 |
| - | |
| 3988 | + | |
| 3989 | + | |
| 3990 | + | |
| 3991 | + | |
| 3992 | + | |
| 3993 | + | |
| 3994 | + | |
| 3995 | + | |
| 3996 | + | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
| 4000 | + | |
| 4001 | + | |
| 4002 | + | |
| 4003 | + | |
| 4004 | + | |
| 4005 | + | |
| 4006 | + | |
3985 | 4007 |
| |
3986 | 4008 |
| |
3987 | 4009 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
976 | 976 |
| |
977 | 977 |
| |
978 | 978 |
| |
979 |
| - | |
980 |
| - | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
981 | 990 |
| |
982 | 991 |
| |
983 | 992 |
| |
|
0 commit comments
Comments
(0)