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

时间:2024-11-13 14:46:38

语法格式

1
2
3
4
5
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/distributed-devg-v8-gaussdb/gaussdb-12-0561.html