- Notifications
You must be signed in to change notification settings - Fork5
Commit5ac5980
committed
More cleanup after failed reduced-lock-levels-for-DDL feature.
Turns out that use of ShareUpdateExclusiveLock or ShareRowExclusiveLockto protect DDL changes had gotten copied into several places that werenot touched by either of Simon's original patches for the feature, andthus neither he nor I thought to revert them. (Indeed, it appears thattwo of these uses were committed *after* the reversion, which just goesto show that git merging is no panacea.) Change these places to useAccessExclusiveLock again. If we ever manage to resurrect that feature,we're going to have to think a bit harder about how to keep lock levelusage in sync for DDL operations that aren't within the AlterTableinfrastructure.Two of these bugs are only in HEAD, but one is in the 9.1 branch too.Alvaro found one of them, I found the other two.1 parentc8e8b5a commit5ac5980
File tree
3 files changed
+9
-7
lines changed- src/backend
- catalog
- commands
- rewrite
3 files changed
+9
-7
lines changedLines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
61 |
| - | |
62 |
| - | |
63 |
| - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
64 | 66 |
| |
65 |
| - | |
| 67 | + | |
66 | 68 |
| |
67 | 69 |
| |
68 | 70 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1038 | 1038 |
| |
1039 | 1039 |
| |
1040 | 1040 |
| |
1041 |
| - | |
| 1041 | + | |
1042 | 1042 |
| |
1043 | 1043 |
| |
1044 | 1044 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
49 |
| - | |
| 48 | + | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
|
0 commit comments
Comments
(0)