Can't CREATE PUBLICATION on RDS Postgres v13

0

RDS Postgres v13.7 I have referred to the official documentation with no luck.

I have set rds.logical_replication to 1 and SELECT name,setting FROM pg_settings WHERE name IN ('wal_level','rds.logical_replication'); returns

          name           | setting
-------------------------+---------
 rds.logical_replication | on
 wal_level               | logical

Nevertheless,

CREATE PUBLICATION aurora_migration FOR ALL TABLES;

always returns

ERROR:  permission denied for database mydb

I have tried both with the admin user (which has role rds_superuser) and with a new role that has rds_replication and both usage on the pubic schema as well as SELECT rights on all tables.

I'm hoping I overlooked something simple.

1개 답변
0

Hi,

Do you have the same error if you ALTER the owner of the database to your rds_superuser first? Something like:

 ALTER DATABASE mydb OWNER to my_rds_superuser;
AWS
답변함 일 년 전

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

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

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

관련 콘텐츠