PostgreSQL standby usage as a read-only replica
medium.com