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

질문됨 일 년 전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
답변함 일 년 전
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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠