I have a postgresql cluster with following databases with user myuser:

database1
database2
I have setup a replication with one master(192.168. 50.8) and slave(192.168.5 0.9). I failover to slave and when i try to failback to original master using pg_rewind for every database, pg_rewind gets succeed for first database but fails for second database.

For database1, running following command and getting succeed...