admin

ALTER POLICY

Changes existing policy roles or predicates; changing command type requires recreation.

Formal Syntax & Structure

sql syntaxsql
ALTER POLICY bm_read ON bm_lab.items USING (owner_name = current_user);

Working Example

Example Snippetsql
-- Disposable PostgreSQL lab only; see LAB.md.ALTER POLICY bm_read ON bm_lab.items USING (owner_name = current_user);
SQL Reference