I want to change the password of the postgres
user on my PostgreSQL Slave Server which is in read-only mode because of an active replication. SELECT pg_is_in_recovery();
returns true and because of this I can't change the password - so far so good.
How can I temporarily pause the replication (and read-only mode) to set a new password for the postgres
user? SELECT pg_xlog_replay_pause();
and didn't work.
Or should I reset the postgres password on the master server and then I have identically passwords on the master & slave?