- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitbf18402
committed
Add note about access permission checks by inherited TRUNCATE and LOCK TABLE.
Inherited queries perform access permission checks on the parenttable only. But there are two exceptions to this rule in v12 or before;TRUNCATE and LOCK TABLE commands through a parent table checkthe permissions on not only the parent table but also the childrentables. Previously these exceptions were not documented.This commit adds the note about these exceptions, into the document.Back-patch to v9.4. But we don't apply this commit to the masterbecause commite6f1e56 already got rid of the exception aboutinherited TRUNCATE and upcoming commit will do for the exceptionabout inherited LOCK TABLE.Author: Amit LangoteReviewed-by: Fujii MasaoDiscussion:https://postgr.es/m/CA+HiwqHfTnMU6SUkyHxCmpHUKk7ERLHCR3vZVq19ZOQBjPBLmQ@mail.gmail.com1 parentd034ab0 commitbf18402
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2323 | 2323 |
| |
2324 | 2324 |
| |
2325 | 2325 |
| |
2326 |
| - | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
2327 | 2331 |
| |
2328 | 2332 |
| |
2329 | 2333 |
| |
|
0 commit comments
Comments
(0)