notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
Port details
pg_auto_failover-devel Postgres extension for automated failover and high-availability
g20251117 databases on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: pat@patmaddox.com search for ports maintained by this maintainer
Port Added: 2026-02-22 16:57:08
Last Update: 2026-03-16 17:01:18
Commit Hash: ed949f3
License: PostgreSQL
WWW:
https://pg-auto-failover.readthedocs.io
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (21 items)
Collapse this list.
  1. /usr/local/share/licenses/postgresql18-pg_auto_failover-devel-g20251117/catalog.mk
  2. /usr/local/share/licenses/postgresql18-pg_auto_failover-devel-g20251117/LICENSE
  3. /usr/local/share/licenses/postgresql18-pg_auto_failover-devel-g20251117/PostgreSQL
  4. bin/pg_autoctl
  5. lib/postgresql/pgautofailover.so
  6. share/postgresql/extension/pgautofailover--1.0--1.1.sql
  7. share/postgresql/extension/pgautofailover--1.0.sql
  8. share/postgresql/extension/pgautofailover--1.1--1.2.sql
  9. share/postgresql/extension/pgautofailover--1.2--1.3.sql
  10. share/postgresql/extension/pgautofailover--1.3--1.4.sql
  11. share/postgresql/extension/pgautofailover--1.4--1.5.sql
  12. share/postgresql/extension/pgautofailover--1.5--1.6.sql
  13. share/postgresql/extension/pgautofailover--1.6--2.0.sql
  14. share/postgresql/extension/pgautofailover--2.0--2.1.sql
  15. share/postgresql/extension/pgautofailover--2.1--2.2.sql
  16. share/postgresql/extension/pgautofailover--2.2--dummy.sql
  17. share/postgresql/extension/pgautofailover--2.2.sql
  18. share/postgresql/extension/pgautofailover.control
  19. @owner
  20. @group
  21. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • pg_auto_failover
Dependency lines:
  • postgresql18-pg_auto_failover-devel>0:databases/pg_auto_failover-devel
Conflicts:
CONFLICTS:
  • postgresql*-pg_auto_failover*
To install the port:
cd /usr/ports/databases/pg_auto_failover-devel/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/pg_auto_failover-devel
  • pkg install postgresql18-pg_auto_failover-devel
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: postgresql18-pg_auto_failover-devel
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1770366586 SHA256 (hapostgres-pg_auto_failover-g20251117-5f31d4f5ef322b339d67cfd79d773e11f9e30fb0_GH0.tar.gz) = d9aef136094c1f90ca39221155b95df04d7e209662b1a715740bfbe14cac5221 SIZE (hapostgres-pg_auto_failover-g20251117-5f31d4f5ef322b339d67cfd79d773e11f9e30fb0_GH0.tar.gz) = 1142071

Packages (timestamps in pop-ups are UTC):
postgresql18-pg_auto_failover-devel
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latestg20251117g20251117--g20251117n/an/an/a
FreeBSD:13:quarterly-g20251117--g20251117n/an/an/a
FreeBSD:14:latestg20251117g20251117--g20251117---
FreeBSD:14:quarterlyg20251117g20251117--g20251117---
FreeBSD:15:latestg20251117g20251117n/a-n/an/a--
FreeBSD:15:quarterlyg20251117g20251117n/a-n/an/a--
FreeBSD:16:latestg20251117g20251117n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. vacuumlo : databases/postgresql18-contrib
  3. postgres : databases/postgresql18-server
Runtime dependencies:
  1. vacuumlo : databases/postgresql18-contrib
  2. postgres : databases/postgresql18-server
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
databases_pg_auto_failover-devel
USES:
gmake pgsql:14-18
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/hapostgres/pg_auto_failover/tar.gz/5f31d4f5ef322b339d67cfd79d773e11f9e30fb0?dummy=/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
g20251117
16 Mar 2026 17:01:18
commit hash: ed949f38f391f6bf1684d8c8addbd2fd8b022468commit hash: ed949f38f391f6bf1684d8c8addbd2fd8b022468commit hash: ed949f38f391f6bf1684d8c8addbd2fd8b022468commit hash: ed949f38f391f6bf1684d8c8addbd2fd8b022468 files touched by this commit
Palle Girgensohn (girgen) search for other commits by this committer
databases/pg_auto_failover-devel: PostgreSQL-13 removed

Bump lowest required version for some PostgreSQL extensions as a
consequence thereof.
g20251117
22 Feb 2026 16:52:01
commit hash: cac7f24191df18d1cec7f52ad3e8097432330641commit hash: cac7f24191df18d1cec7f52ad3e8097432330641commit hash: cac7f24191df18d1cec7f52ad3e8097432330641commit hash: cac7f24191df18d1cec7f52ad3e8097432330641 files touched by this commit
Dave Cottlehuber (dch) search for other commits by this committer
Author: Pat Maddox
databases/pg_auto_failover-devel: new port: PG extension for automated failover
and HA

WWW: https://pg-auto-failover.readthedocs.io
PR: 292994

Number of commits found: 2