/
githubmirror
/
postgres
Обзор
Документация
Войти
/
githubmirror
/
postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/test/modules/test_rls_hooks/README
16 строк
516 B
Michael Paquier
Fix inconsistencies and typos in the tree, take 11
19 авг 2019, 10:21
19 авг 2019, 10:21
c96581a
Код
Авторство
О чём код?
test_rls_hooks is an example of how to use the hooks provided for RLS to define additional policies to be used. Functions ========= test_rls_hooks_permissive(CmdType cmdtype, Relation relation) RETURNS List* Returns a list of policies which should be added to any existing policies on the relation, combined with OR. test_rls_hooks_restrictive(CmdType cmdtype, Relation relation) RETURNS List* Returns a list of policies which should be added to any existing policies on the relation, combined with AND.