PostgreSQL for DevOps: Production Setup and Operations

How to run PostgreSQL that doesn’t lose data, scales under load, and survives disasters