目前只授权给`omm`,并且`omm`只能本地访问。如果想要授读权限给`postgres`用户,有什么办法吗?
法一: 将dbe_perf这个schema对象的USAGE权限赋给用户
grant USAGE on schema dbe_perf to user_name ;
注意:dbe_perf下的某些系统视图或者表需要有MONADMIN或者SYSADMIN 权限的用户才能访问 法二: 将系统权限:MONADMIN或者SYSADMIN赋给用户
alter user user_name MONADMIN ; alter user user_name SYSADMIN ;