RDS Postgres Superuser permission

0

Couldnt execute this query without superuser permission ALTER ROLE user WITH REPLICATION;

Im running a postgres db even I have enabled RDS_SUPERUSER role to that user.

1개 답변
1

Hi,

According to https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.MasterAccounts.html does not seem that you can use the WITH replication syntax for rds super users.

You will need to grant replication to an user:

CREATE ROLE <user>; GRANT rds_replication TO <user>;

Hope it helps.

profile picture
전문가
답변함 일 년 전

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

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

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

관련 콘텐츠