对于Greenplum如何向用户授予数据库所有表的只读特权

问题描述 投票:0回答:1

我尝试过

# grant select on all tables in schema public to tester;
ERROR: syntax error at or near "all"
LINE 1: grant select on all tables in schema public to tester;

我的gp版本是5.22

提前感谢

privileges greenplum
1个回答
0
投票

Greenplum是Postgres:

GRANT SELECT ON ALL TABLES IN SCHEMA public TO tester;

...但是由于它是公开的,所以他们仍然准备好了:)

© www.soinside.com 2019 - 2024. All rights reserved.