diff options
author | Joe Conway <mail@joeconway.com> | 2017-06-11 08:51:18 -0700 |
---|---|---|
committer | Joe Conway <mail@joeconway.com> | 2017-06-11 08:51:18 -0700 |
commit | 4f7a95be2c112bdc8da5f7e46cbb743b8ba4cc21 (patch) | |
tree | 08cd6ef86fc2e31b8c39b459ad001c39d717c659 /src/backend/parser/parse_utilcmd.c | |
parent | 93b7d9731f184e764c642266ecd74be24db73a6e (diff) | |
download | postgresql-4f7a95be2c112bdc8da5f7e46cbb743b8ba4cc21.tar.gz postgresql-4f7a95be2c112bdc8da5f7e46cbb743b8ba4cc21.zip |
Apply RLS policies to partitioned tables.
The new partitioned table capability added a new relkind, namely
RELKIND_PARTITIONED_TABLE. Update fireRIRrules() to apply RLS
policies 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.org
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions