14 lines
343 B
PL/PgSQL
14 lines
343 B
PL/PgSQL
-- Verify numerus:contact_iban on pg
|
|
|
|
begin;
|
|
|
|
select contact_id
|
|
, iban
|
|
from numerus.contact_iban
|
|
where false;
|
|
|
|
select 1 / count(*) from pg_class where oid = 'numerus.contact_iban'::regclass and relrowsecurity;
|
|
select 1 / count(*) from pg_policy where polname = 'company_policy' and polrelid = 'numerus.contact_iban'::regclass;
|
|
|
|
rollback;
|