How to Set Up a PostgreSQL Master-Slave Replication on Ubuntu 20.04

PostgreSQL, an open-source object-based relational database management software (RDBMS). Known for its horizontal scaling, high availability and extensibility, PostgreSQL is an ACID (Atomicity, Consistency, Isolation and Durability) compliant. For an application that is prepping up for production, it is crucial to have multiple copies of your database in sync known as replication.