test_rls_hooks

A test module providing an example using hooks provided for row-level security

test_rls_hooks is a test module providing an example using the hooks provided for row-level security (RLS) to define additional policies.

test_rls_hooks was added in PostgreSQL 9.5.

Source

test_rls_hooks source is located at src/test/modules/test_rls_hooks/.

Change history

Categories

Coding example, Hooks, Security, Testing

See also

row_security_policy_hook_permissive, row_security_policy_hook_restrictive, row-level security