/
balmaster
/
postgres
ОбзорДокументацияВойти
/
balmaster
/
postgres
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
postgres/
.../modules/test_rls_hooks/
..
expected

Improve RLS planning by marking individual quals with security levels.

10 лет назад
sql

Establish conventions about global object names used in regression tests.

10 лет назад
.gitignore

RLS fixes, new hooks, and new test module

11 лет назад
Makefile

Clean test_rls_hooks module

4 года назад
README

Fix inconsistencies and typos in the tree, take 11

7 лет назад
meson.build

Update copyright for 2026

7 месяцев назад
test_rls_hooks.c

Update copyright for 2026

7 месяцев назад
test_rls_hooks.h

Update copyright for 2026

7 месяцев назад
README
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.