1

After upgrading from postgresql 9.6 to 10.1-R1, the user do not have access to tables.

after investigation, I found the exact same issue on that post

When I look at my access privileges, it is empty:

\dn+
                        List of schemas
  Name  |  Owner   | Access privileges |      Description
--------+----------+-------------------+------------------------
 public | rdsadmin |                   | standard public schema

When it should be postgres=UC/postgres=UC/postgres

It was correctly set before migration

the recommendation was to run the command grant all on schema public to <my user>; but I don't have enough permission with RDS. Any recomendation to handle this with RDS?

gillien
  • 402
  • 2
  • 15
  • Hey, i have the same issue. Can you post again the link to the aws forum? The current link is broken. Thanks – andunhill Oct 15 '19 at 08:23

1 Answers1

4

I have the solution from the AWS forum.

First, run

ALTER SCHEMA PUBLIC OWNER TO <my rds_superuser>;

Then run the grant statement after: grant all on schema public to <my user>;

gillien
  • 402
  • 2
  • 15