- Notifications
You must be signed in to change notification settings - Fork5
Commitfa26424
committed
Allow LOCK TABLE .. ROW EXCLUSIVE MODE with INSERT
INSERT acquires RowExclusiveLock during normal operation and thereforeit makes sense to allow LOCK TABLE .. ROW EXCLUSIVE MODE to be executedby users who have INSERT rights on a table (even if they don't haveUPDATE or DELETE).Not back-patching this as it's a behavior change which, strictlyspeaking, loosens security restrictions.Per discussion with Tom and Robert (circa 2013).1 parent9d15292 commitfa26424
2 files changed
+13
-7
lines changedLines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 |
| - | |
165 |
| - | |
166 |
| - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
167 | 169 |
| |
168 | 170 |
| |
169 | 171 |
| |
|
Lines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
169 | 169 |
| |
170 | 170 |
| |
171 | 171 |
| |
| 172 | + | |
172 | 173 |
| |
173 | 174 |
| |
174 | 175 |
| |
175 |
| - | |
176 |
| - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
177 | 179 |
| |
178 |
| - | |
179 |
| - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
180 | 184 |
| |
181 | 185 |
|
0 commit comments
Comments
(0)