mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Example:
```bash
$ patronictl topology
+ Cluster: batman (6834835313225022118) -----+---------+----+-----------+------------------------------------------------+
| Member | Host | Role | State | TL | Lag in MB | Tags |
+-----------------+----------------+---------+---------+----+-----------+------------------------------------------------+
| postgresql0 | localhost:5432 | Leader | running | 2 | | |
| + postgresql1 | localhost:5433 | Replica | running | 2 | 0.0 | |
| + postgresql2 | localhost:5434 | Replica | running | 2 | 0.0 | {nofailover: true, replicatefrom: postgresql1} |
+-----------------+----------------+---------+---------+----+-----------+------------------------------------------------+
```