- Notifications
You must be signed in to change notification settings - Fork5
Commit2dbbda0
committed
Reduce lock levels of CREATE TRIGGER and some ALTER TABLE, CREATE RULE actions.
Avoid hard-coding lockmode used for many altering DDL commands, allowing easierfuture changes of lock levels. Implementation of initial analysis on DDLsub-commands, so that many lock levels are now at ShareUpdateExclusiveLock orShareRowExclusiveLock, allowing certain DDL not to block reads/writes.First of number of planned changes in this area; additional docs requiredwhen full project complete.1 parent133924e commit2dbbda0
File tree
10 files changed
+426
-232
lines changed- doc/src/sgml
- src
- backend
- catalog
- commands
- parser
- rewrite
- utils/adt
- include/commands
10 files changed
+426
-232
lines changedLines changed: 10 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
532 | 532 |
| |
533 | 533 |
| |
534 | 534 |
| |
535 |
| - | |
| 535 | + | |
536 | 536 |
| |
537 | 537 |
| |
538 | 538 |
| |
| |||
695 | 695 |
| |
696 | 696 |
| |
697 | 697 |
| |
698 |
| - | |
699 |
| - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
700 | 701 |
| |
701 | 702 |
| |
702 | 703 |
| |
| |||
742 | 743 |
| |
743 | 744 |
| |
744 | 745 |
| |
745 |
| - | |
746 |
| - | |
| 746 | + | |
| 747 | + | |
747 | 748 |
| |
748 |
| - | |
749 |
| - | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
750 | 752 |
| |
751 | 753 |
| |
752 | 754 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1346 | 1346 |
| |
1347 | 1347 |
| |
1348 | 1348 |
| |
1349 |
| - | |
| 1349 | + | |
1350 | 1350 |
| |
1351 | 1351 |
| |
1352 | 1352 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
193 |
| - | |
| 193 | + | |
194 | 194 |
| |
195 | 195 |
| |
196 | 196 |
| |
|
0 commit comments
Comments
(0)