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 Answer
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
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions