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

时间:2024-11-02 18:52:15

语法格式

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/gaussdb_42_0418.html