- Notifications
You must be signed in to change notification settings - Fork28
Commitfbfa566
committed
Fix lockmode initialization for custom relation options
The code was enforcing AccessExclusiveLock for all custom relationoptions, which is incorrect as the APIs allow a custom lock level to beset.While on it, fix a couple of inconsistencies in the tests and the READMEof dummy_index_am.Oversights in commit773df88.Discussion:https://postgr.es/m/20190925234152.GA2115@paquier.xyz1 parent8190164 commitfbfa566
File tree
4 files changed
+5
-8
lines changed- src
- backend/access/common
- test/modules/dummy_index_am
- expected
- sql
4 files changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | 703 | | |
711 | 704 | | |
712 | 705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments
Comments
(0)