我正在尝试一个新事物,但我被困在教程中。当我按照本教程的第 4 步进行操作时:
https://postgrest.org/en/v9.0/tutorials/tut0.html#step-4-create-database-for-api
SQL 只是运行没有错误。我可以看到表格+数据。
但是,当我以新创建的用户身份登录authenticator
并尝试select * from api.todos;
时,我收到错误消息:
ERROR: permission denied for schema api
LINE 1: select * from api.todos;
我在我的Postgres.app上的 Postgres 13+14以及 Debian 上的 Postgres 13.4 上进行了尝试。同样的错误。
这里有什么帮助吗?