DROP ROW LEVEL SECURITY POLICY deletes a row-level access control policy from a table.
Only the table owner or administrators can delete a row-level access control policy from the table.
1 | DROP [ ROW LEVEL SECURITY ] POLICY [ IF EXISTS ] policy_name ON table_name [ CASCADE | RESTRICT ] |
Reports a notice instead of an error if the specified row-level access control policy does not exist.
Delete the row-level access control policy.
DROP ROW LEVEL SECURITY POLICY all_data_rls ON all_data;