forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbbdb9df
committed
Remove the SECURITY_ROW_LEVEL_DISABLED security context bit.
This commit's parent made superfluous the bit's sole usage. Referentialintegrity checks have long run as the subject table's owner, and thatnow implies RLS bypass. Safe use of the bit was tricky, requiringstrict control over the SQL expressions evaluating therein. Back-patchto 9.5, where the bit was introduced.Based on a patch by Stephen Frost.1 parent6dae6ed commitbbdb9df
File tree
6 files changed
+4
-49
lines changed- src
- backend/utils
- adt
- cache
- init
- misc
- include
- utils
6 files changed
+4
-49
lines changedLines changed: 1 addition & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2970 | 2970 |
| |
2971 | 2971 |
| |
2972 | 2972 |
| |
2973 |
| - | |
2974 | 2973 |
| |
2975 | 2974 |
| |
2976 | 2975 |
| |
| |||
2983 | 2982 |
| |
2984 | 2983 |
| |
2985 | 2984 |
| |
2986 |
| - | |
2987 |
| - | |
2988 |
| - | |
2989 |
| - | |
2990 |
| - | |
2991 |
| - | |
2992 |
| - | |
2993 |
| - | |
2994 |
| - | |
2995 |
| - | |
2996 |
| - | |
2997 |
| - | |
2998 |
| - | |
2999 |
| - | |
3000 | 2985 |
| |
3001 |
| - | |
| 2986 | + | |
3002 | 2987 |
| |
3003 | 2988 |
| |
3004 | 2989 |
| |
|
Lines changed: 2 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
204 | 204 |
| |
205 | 205 |
| |
206 | 206 |
| |
207 |
| - | |
208 | 207 |
| |
209 | 208 |
| |
210 | 209 |
| |
| |||
601 | 600 |
| |
602 | 601 |
| |
603 | 602 |
| |
604 |
| - | |
605 |
| - | |
606 |
| - | |
607 |
| - | |
608 |
| - | |
609 |
| - | |
610 |
| - | |
611 |
| - | |
| 603 | + | |
| 604 | + | |
612 | 605 |
| |
613 | 606 |
| |
614 |
| - | |
615 | 607 |
| |
616 | 608 |
| |
617 | 609 |
| |
|
Lines changed: 1 addition & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
341 | 341 |
| |
342 | 342 |
| |
343 | 343 |
| |
344 |
| - | |
| 344 | + | |
345 | 345 |
| |
346 | 346 |
| |
347 | 347 |
| |
| |||
359 | 359 |
| |
360 | 360 |
| |
361 | 361 |
| |
362 |
| - | |
363 |
| - | |
364 |
| - | |
365 | 362 |
| |
366 | 363 |
| |
367 | 364 |
| |
| |||
404 | 401 |
| |
405 | 402 |
| |
406 | 403 |
| |
407 |
| - | |
408 |
| - | |
409 |
| - | |
410 |
| - | |
411 |
| - | |
412 |
| - | |
413 |
| - | |
414 |
| - | |
415 |
| - | |
416 | 404 |
| |
417 | 405 |
| |
418 | 406 |
| |
|
Lines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 | 66 |
| |
74 | 67 |
| |
75 | 68 |
| |
|
Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
286 | 286 |
| |
287 | 287 |
| |
288 | 288 |
| |
289 |
| - | |
290 | 289 |
| |
291 | 290 |
| |
292 | 291 |
| |
| |||
305 | 304 |
| |
306 | 305 |
| |
307 | 306 |
| |
308 |
| - | |
309 | 307 |
| |
310 | 308 |
| |
311 | 309 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 |
| - | |
115 | 114 |
| |
116 | 115 |
| |
117 | 116 |
| |
|
0 commit comments
Comments
(0)