This article will help you
https://wiki.postgresql.org/wiki/Multimaster. El mar., 16 feb. 2021 10:56, Mutuku Ndeti <jnmutuku@xxxxxxxxx> escribió:
Hi,Need some advice here. I have an application using PostgreSQL. I need to install it on 2 servers for redundancy purposes and have 2 databases. I need the DBs to replicate to each other, in real-time. Writes can be done on both DBs.Please let me know if this is a feasible setup and the best way to proceed.