Ahoj Jirko,
I am struggling setting up wal2json in AWS. I have added the ParameterGroup, gave it to the RDS and restarted the RDS.
Now I want to add a user with REPLICATION LOGIN but can't - AWS's PostgreSQL won't let me
CREATE USER replicant REPLICATION LOGIN CONNECTION LIMIT 1 ENCRYPTED PASSWORD 'replicant';
That needs SUPERUSER, which postgres user doesn't have and I can't get to rdsadmin user (that's Amazon's mgmt user).
Anyway. In the parameter group, wal_level and rds.wal_level are rejected.
So searched for it in the UI console and I can't see it.
When I run SHOW ALL, wal_level is only hot_standby.
When I try ALTER SYSTEM SET wal_level = logical, I need SUPERUSER again.
So I'm kind of stuck. Debezium link you posted says
"""Verify that wal_level parameter is set to logical; this might not be the case in multi-zone replication setups."""
So I verified that it is not and I see no way to change it :)
Any hints please?
Ondra