14 lines
337 B
MySQL
14 lines
337 B
MySQL
|
-- Verify camper:product_tax on pg
|
||
|
|
||
|
begin;
|
||
|
|
||
|
select product_id
|
||
|
, tax_id
|
||
|
from camper.product_tax
|
||
|
where false;
|
||
|
|
||
|
select 1 / count(*) from pg_class where oid = 'camper.product_tax'::regclass and relrowsecurity;
|
||
|
select 1 / count(*) from pg_policy where polname = 'company_policy' and polrelid = 'camper.product_tax'::regclass;
|
||
|
|
||
|
rollback;
|