You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:table Name of a table containing the check constraint.
:description A short description of the test.
Quick and dirty SQL:
SELECTc.relrowsecurityas"has_rls_enabled"FROMpg_catalog.pg_class c
LEFT JOINpg_catalog.pg_namespace n ONn.oid=c.relnamespaceWHEREc.relkindIN ('r')
ANDn.nspname='schemaname'ANDc.relname='tablename'ANDpg_catalog.pg_table_is_visible(c.oid);
The text was updated successfully, but these errors were encountered:
Tests whether or not a table has row level security (RLS) enabled.
has_rls_enabled()
hasnt_rls_enabled()
Parameters
Quick and dirty SQL:
The text was updated successfully, but these errors were encountered: