https://vyqyty.github.io/postgresql-high-availability-master-slave/
Postgresql High Availability Master Slave - Vyqyty