- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitd034ab0
committed
Revert commit56bc82a.
This commit reverts the fix "Make inherited TRUNCATE perform accesspermission checks on parent table only" only in the back branches.It's not hard to imagine that there are some applications expectingthe old behavior and the fix breaks their security. To avoid thiscompatibility problem, we decided to apply the fix only in HEAD andrevert it in all supported back branches.Discussion:https://postgr.es/m/21015.1580400165@sss.pgh.pa.us1 parent95936c7 commitd034ab0
File tree
3 files changed
+18
-84
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+18
-84
lines changedLines changed: 18 additions & 49 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
262 | 262 |
| |
263 | 263 |
| |
264 | 264 |
| |
265 |
| - | |
266 |
| - | |
267 |
| - | |
| 265 | + | |
268 | 266 |
| |
269 | 267 |
| |
270 | 268 |
| |
| |||
1020 | 1018 |
| |
1021 | 1019 |
| |
1022 | 1020 |
| |
1023 |
| - | |
1024 |
| - | |
1025 |
| - | |
1026 |
| - | |
1027 |
| - | |
| 1021 | + | |
1028 | 1022 |
| |
1029 | 1023 |
| |
1030 | 1024 |
| |
| |||
1060 | 1054 |
| |
1061 | 1055 |
| |
1062 | 1056 |
| |
1063 |
| - | |
1064 |
| - | |
1065 |
| - | |
1066 |
| - | |
1067 |
| - | |
1068 |
| - | |
1069 |
| - | |
1070 |
| - | |
1071 |
| - | |
| 1057 | + | |
1072 | 1058 |
| |
1073 | 1059 |
| |
1074 | 1060 |
| |
| |||
1102 | 1088 |
| |
1103 | 1089 |
| |
1104 | 1090 |
| |
1105 |
| - | |
1106 |
| - | |
1107 |
| - | |
| 1091 | + | |
1108 | 1092 |
| |
1109 | 1093 |
| |
1110 | 1094 |
| |
| |||
1305 | 1289 |
| |
1306 | 1290 |
| |
1307 | 1291 |
| |
1308 |
| - | |
| 1292 | + | |
1309 | 1293 |
| |
1310 |
| - | |
| 1294 | + | |
1311 | 1295 |
| |
1312 | 1296 |
| |
1313 |
| - | |
| 1297 | + | |
1314 | 1298 |
| |
1315 | 1299 |
| |
1316 |
| - | |
| 1300 | + | |
| 1301 | + | |
1317 | 1302 |
| |
1318 |
| - | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
1319 | 1311 |
| |
1320 | 1312 |
| |
1321 | 1313 |
| |
1322 |
| - | |
1323 |
| - | |
1324 |
| - | |
1325 |
| - | |
1326 |
| - | |
1327 |
| - | |
1328 |
| - | |
1329 |
| - | |
1330 |
| - | |
1331 |
| - | |
1332 |
| - | |
1333 |
| - | |
1334 |
| - | |
1335 |
| - | |
1336 |
| - | |
1337 |
| - | |
1338 |
| - | |
| 1314 | + | |
1339 | 1315 |
| |
1340 |
| - | |
1341 |
| - | |
1342 |
| - | |
1343 |
| - | |
1344 |
| - | |
1345 |
| - | |
1346 |
| - | |
1347 | 1316 |
| |
1348 | 1317 |
| |
1349 | 1318 |
| |
|
Lines changed: 0 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
656 | 656 |
| |
657 | 657 |
| |
658 | 658 |
| |
659 |
| - | |
660 |
| - | |
661 |
| - | |
662 |
| - | |
663 |
| - | |
664 |
| - | |
665 |
| - | |
666 |
| - | |
667 |
| - | |
668 |
| - | |
669 |
| - | |
670 |
| - | |
671 |
| - | |
672 |
| - | |
673 |
| - | |
674 |
| - | |
675 |
| - | |
676 |
| - | |
677 |
| - | |
678 |
| - | |
679 |
| - | |
680 | 659 |
| |
681 | 660 |
| |
682 | 661 |
| |
|
Lines changed: 0 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
414 | 414 |
| |
415 | 415 |
| |
416 | 416 |
| |
417 |
| - | |
418 |
| - | |
419 |
| - | |
420 |
| - | |
421 |
| - | |
422 |
| - | |
423 |
| - | |
424 |
| - | |
425 |
| - | |
426 |
| - | |
427 |
| - | |
428 |
| - | |
429 |
| - | |
430 |
| - | |
431 | 417 |
| |
432 | 418 |
| |
433 | 419 |
| |
|
0 commit comments
Comments
(0)