Using postgres permissions from docs does not work on RDS
See original GitHub issuevia fusillicode#3122
on Discord.
Following the instructions here does not work on RDS.
Results in error:
sql> GRANT SELECT ON ALL TABLES IN SCHEMA information_schema TO hasurauser
[2019-02-28 13:03:13] [42501] ERROR: permission denied for relation sql_parts
sql> GRANT SELECT ON ALL TABLES IN SCHEMA pg_catalog TO hasurauser
[2019-02-28 13:03:17] [42501] ERROR: permission denied for relation pg_statistic
Probably because RDS restricts specific tables in pg_catalog
and information_schema
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:20
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Understanding PostgreSQL roles and permissions
In PostgreSQL, a role can define a user, a group, or a set of specific permissions granted to a group or user for...
Read more >Documentation: 15: COPY - PostgreSQL
If a column list is specified, COPY TO copies only the data in the specified columns to the file. For COPY FROM ,...
Read more >Troubleshooting DB issues for Amazon RDS Custom
Learn how to troubleshoot issues with Amazon RDS Custom DB instances. ... The caller doesn't have permissions to get files from your S3...
Read more >Postgres EDB and PostgreSQL Setup | Enterprise Docs
If you are using Postgres for Amazon RDS or for Aurora, the admin user they provide is NOT a true superuser and its...
Read more >Configure GitLab using an external PostgreSQL service
To resolve this error, ensure that you are meeting the minimum PostgreSQL requirements. After upgrading your RDS instance to a suitable version, you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In my case GCP CloudSQL PostgreSQL 9.6.15 return error:
Using AWS Amazon RDS PostgreSQL 12 returns this: