What pg_auto_failover does
Automatic promotion with zero data loss
pg_auto_failover runs a monitor that tracks the health of primary and standby nodes. When the primary fails, the monitor promotes the standby and reconfigures the cluster — no manual intervention, no data loss, no external dependencies.
Why it matters
Manual failover is slow and error-prone under pressure
- Primary failures happen at the worst possible time
- Manual promotion steps are risky when you're half-awake at 3am
- External tools add operational complexity and new failure modes
- pg_auto_failover uses PostgreSQL's own replication — nothing to learn, nothing to trust blindly
Typical use cases
Where pg_auto_failover fits
- Production PostgreSQL clusters requiring HA without Patroni complexity
- Kubernetes deployments needing predictable failover
- Teams who want HA behaviour they can reason about and test
- On-premise and cloud environments alike
Key capabilities
Built on PostgreSQL native features
- Automatic failover with synchronous replication
- Zero data loss on controlled failover
- Monitor node coordinates the cluster state machine
- Works with any number of standby nodes
- Simple CLI for setup and operations