GRANT SELECT ON ALL TABLES IN SCHEMA public TO readonly;
只读用户可以连接,查看表,但当它尝试执行简单的select操作时,它会得到:
ERROR: permission denied for relation mytable SQL state: 42501
这发生在PostgreSQL 9.1上
我做错了什么?
https://stackoverflow.com/questions/13497352
相似问题