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

feita há um ano215 visualizações
2 Respostas
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
respondido há um ano
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
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas