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

posta un anno fa215 visualizzazioni
2 Risposte
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
con risposta un anno fa
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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande