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

时间:2024-11-13 14:45:52

语法格式

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-v8-gaussdb/gaussdb-42-0565.html