[COMMITTERS] pgsql: Apply RLS policies to partitioned tables.

Поиск
Список
Период
Сортировка
От Joe Conway
Тема [COMMITTERS] pgsql: Apply RLS policies to partitioned tables.
Дата
Msg-id E1dK59q-0005XI-2U@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: [COMMITTERS] pgsql: Apply RLS policies to partitioned tables.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4f7a95be2c112bdc8da5f7e46cbb743b8ba4cc21

Modified Files
--------------
src/backend/rewrite/rewriteHandler.c      |   3 +-
src/test/regress/expected/rowsecurity.out | 428 ++++++++++++++++++++++++++++++
src/test/regress/sql/rowsecurity.sql      | 142 ++++++++++
3 files changed, 572 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: [COMMITTERS] pgsql: Take PROVE_FLAGS from the command line but not the environment
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Handle unqualified SEQUENCE NAME options properly inparse_utilc