Postgres db help

0

Hi , I recently migrated EC2 postgres to RDS and I'm facing the problem with one table that has a sequence . When trying to insert Im getting permissions error . I granted all the permissions already to the owner of the schema and the user that tries the insert operation but still facing the same error . Please advise how can I solve it

attached screenshots table insert and permissions

demandé il y a un an215 vues
2 réponses
0

By looking to the error, it seems usage grant on schema UCM is missing for the user trying to insert data into the table.

Could you try to give usage grant "grant usage on schema ucm to <user>;"

AWS
répondu il y a un an
0

I have addressed your concerns as follows-

Please allow me to mention that this error arises when you do not provide the access to the schema you are trying to make modification/ selection from.

I would recommend you try to login from your master user and grant the particular user access on the schema 'ucm'.

Syntax to do the same:

"grant usage on schema ucm to <user>;

You can also kindly refer to document attached below for user and role grants in RDS Postgres [+]https://aws.amazon.com/blogs/database/managing-postgresql-users-and-roles/

I sincerely hope this helps!

AWS
Vedanta
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions