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.

posta un anno fa1861 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande