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

时间:2024-01-23 20:08:49

语法格式

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/devg-v1-gaussdb/gaussdb_devg_0551.html