AWS Blue/Green Postgres - default_transaction_read_only not applying for Green deployment

0

Hello community, After we've setting up green deployment we noticed that parameter "default_transaction_read_only" in the DB parameter groups didn't work properly (we have disabled this parameter, but in the DB we still seeing an error, and cannot use write operations) any suggestions?

Enter image description here

Enter image description here

Sergii
asked 6 months ago308 views
2 Answers
0

On a green instance the value is set to read_only so that you do not make unintended changes to green that would break logical replication to green. You can however change the value in a session variable if you need to make writes to green.

https://jkatz05.com/post/postgres/postgres-read-only/

AWS
MODERATOR
philaws
answered 6 months ago
0

You prepare a new parameter group and set defalut_transaction_read_only to 0 for that parameter group. You can then apply the parameter group to the Green environment and restart it to maintain the database on the Green side. Alter System is not available on Aurora.

profile picture
asahide
answered 2 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