- Notifications
You must be signed in to change notification settings - Fork28
Commit4f7a95b
committed
Apply RLS policies to partitioned tables.
The new partitioned table capability added a new relkind, namelyRELKIND_PARTITIONED_TABLE. Update fireRIRrules() to apply RLSpolicies on RELKIND_PARTITIONED_TABLE as it does RELKIND_RELATION.In addition, add RLS regression test coverage for partitioned tables.Issue raised by Fakhroutdinov Evgenievich and patch by Mike Palmiotto.Regression test editorializing by me.Discussion:https://postgr.es/m/flat/20170601065959.1486.69906@wrigleys.postgresql.org1 parent93b7d97 commit4f7a95b
File tree
3 files changed
+572
-1
lines changed- src
- backend/rewrite
- test/regress
- expected
- sql
3 files changed
+572
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1835 | 1835 |
| |
1836 | 1836 |
| |
1837 | 1837 |
| |
1838 |
| - | |
| 1838 | + | |
| 1839 | + | |
1839 | 1840 |
| |
1840 | 1841 |
| |
1841 | 1842 |
| |
|
0 commit comments
Comments
(0)