{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["databases"],"comment":"Postgres extension for automated failover and high-availability","compare":null,"dependentCount":null,"description":"pg_auto_failover is an extension and service for PostgreSQL that\nmonitors and manages automated failover for a Postgres cluster. It is\noptimized for simplicity and correctness and supports Postgres 13 to\n17.\n\npg_auto_failover supports several Postgres architectures and\nimplements a safe automated failover for your Postgres service. It is\npossible to get started with only two data nodes which will be given\nthe roles of primary and secondary by the monitor.\n\nThe pg_auto_failover Monitor implements a state machine and relies on\nin-core PostgreSQL facilities to deliver HA. For example, when the\nsecondary node is detected to be unavailable, or when its lag is too\nmuch, then the Monitor removes it from the synchronous_standby_names\nsetting on the primary node. Until the secondary is back to being\nmonitored healthy, failover and switchover operations are not allowed,\npreventing data loss.\n\npg_auto_failover consists of the following parts:\n\n- a PostgreSQL extension named pgautofailover\n- a PostgreSQL service to operate the pg_auto_failover monitor\n- a pg_auto_failover keeper to operate your PostgreSQL instances, see\n  pg_autoctl run","flavors":[],"html":"https://daemonports.org/dragonfly/databases/pg_auto_failover/","kind":"port","lastUpdate":null,"license":["PostgreSQL"],"licenses":["PostgreSQL"],"maintainer":"patmaddox@FreeBSD.org","name":"postgresql17-pg_auto_failover","newest":true,"newestVersion":"2.2","noVulnData":false,"origin":"databases/pg_auto_failover","otherSystems":[{"maintainer":"patmaddox@FreeBSD.org","newest":true,"origin":"databases/pg_auto_failover","path":"/databases/pg_auto_failover/","system":"FreeBSD","updated":"2026-11-12","version":"2.2_1"},{"maintainer":"patmaddox@FreeBSD.org","newest":true,"noVulnData":true,"origin":"databases/pg_auto_failover","path":"","system":"HardenedBSD","version":"2.2"},{"maintainer":"patmaddox@FreeBSD.org","newest":true,"noVulnData":true,"origin":"databases/pg_auto_failover","path":"","system":"GhostBSD","version":"2.2"}],"packages":null,"pkgName":"postgresql17-pg_auto_failover-2.2","related":["databases/pg_auto_failover-devel"],"repository":"DPorts","requiredBy":[],"requiredByCount":0,"runDepends":["databases/postgresql17-contrib","databases/postgresql17-server","devel/ncurses"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"2.2","versions":[{"date":"2026-11-11","version":"2.2"}],"vulnerabilities":null,"www":"https://pg-auto-failover.readthedocs.io"}
