BSD Ports

databases/pg_auto_failover-devel g20251117 DragonFly

Postgres extension for automated failover and high-availability

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
PostgreSQL
Categories
databases
Package size
755.5 KiB, 2850.5 KiB installed

Description

pg_auto_failover is an extension and service for PostgreSQL that monitors and manages automated failover for a Postgres cluster. It is optimized for simplicity and correctness and supports Postgres 13 to 18.

pg_auto_failover supports several Postgres architectures and implements a safe automated failover for your Postgres service. It is possible to get started with only two data nodes which will be given the roles of primary and secondary by the monitor.

The pg_auto_failover Monitor implements a state machine and relies on in-core PostgreSQL facilities to deliver HA. For example, when the secondary node is detected to be unavailable, or when its lag is too much, then the Monitor removes it from the synchronous_standby_names setting on the primary node. Until the secondary is back to being monitored healthy, failover and switchover operations are not allowed, preventing data loss.

pg_auto_failover consists of the following parts:

  • a PostgreSQL extension named pgautofailover
  • a PostgreSQL service to operate the pg_auto_failover monitor
  • a pg_auto_failover keeper to operate your PostgreSQL instances, see pg_autoctl run

This is the development version tracking the main branch.

In the other systems

The newest version among them is g20251117, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydatabases/pg_auto_failover-develg20251117 newestnone known-[email protected]-
FreeBSDdatabases/pg_auto_failover-develg20251117_1 newestnone known-[email protected]2026-11-12
HardenedBSDdatabases/pg_auto_failover-develg20251117 newestno data-[email protected]-
GhostBSDdatabases/pg_auto_failover-develg20251117 newestno data-[email protected]-

Version history 1

  1. g20251117

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install postgresql18-pg_auto_failover-devel

From DPorts:

cd /usr/dports/databases/pg_auto_failover-devel && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

No port depends on this one.