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

質問済み 1年前215ビュー
2回答
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
回答済み 1年前
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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ