[This](https://pg-auto-failover.readthedocs.io/en/main/) plugin needs to be integrated to the project.