- Notifications
You must be signed in to change notification settings - Fork5
Commitf30c76c

Neil Conway
Adjust CREATE TRIGGER and ALTER TABLE ... ADD FOREIGN KEY to acquire
ExclusiveLock rather than AccessExclusiveLock. This will allow concurrentSELECT queries to proceed on the table. Per discussion with Andrew atSuperNews.1 parentac32304 commitf30c76c
File tree
3 files changed
+21
-13
lines changed- doc/src/sgml
- src/backend/commands
3 files changed
+21
-13
lines changedLines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
677 | 677 |
| |
678 | 678 |
| |
679 | 679 |
| |
680 |
| - | |
681 |
| - | |
682 |
| - | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
683 | 684 |
| |
684 | 685 |
| |
685 | 686 |
| |
|
Lines changed: 7 additions & 7 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 |
| |
| |||
3829 | 3829 |
| |
3830 | 3830 |
| |
3831 | 3831 |
| |
3832 |
| - | |
3833 |
| - | |
3834 |
| - | |
3835 |
| - | |
3836 |
| - | |
| 3832 | + | |
| 3833 | + | |
| 3834 | + | |
| 3835 | + | |
| 3836 | + | |
3837 | 3837 |
| |
3838 |
| - | |
| 3838 | + | |
3839 | 3839 |
| |
3840 | 3840 |
| |
3841 | 3841 |
| |
|
Lines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 |
| - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
91 | 98 |
| |
92 | 99 |
| |
93 | 100 |
| |
|
0 commit comments
Comments
(0)