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