I have a postgres solution on aws/rds with a master and a read replica.
_________________________master____slave
hot_standby_______________on________on
transaction_read_only_______on________on
pg_is_in_recovery()_________true_______true
master slave
hot_standby on on
transaction_read_only on on
pg_is_in_recovery() true true
Having the master set in this way the vacuum and analyze process don't work. Any idea how to change this setting? thank you!