云数据库 GAUSSDB-CREATE ROW LEVEL SECURITY POLICY:语法格式

时间:2024-11-02 18:53:03

语法格式

CREATE [ ROW LEVEL SECURITY ] POLICY policy_name ON table_name
     [ AS { PERMISSIVE | RESTRICTIVE } ]
     [ FOR { ALL | SELECT | UPDATE | DELETE } ]
     [ TO { role_name | PUBLIC | CURRENT_USER | SESSION_USER } [, ...] ]
     USING ( using_expression )
support.huaweicloud.com/centralized-devg-v2-gaussdb/devg_03_0568.html