pgautofailover
pg_auto_failover
Module:
Categories:
Overview
PGDG 1st Party Extension: pgautofailover : pg_auto_failover
Information
- Extension ID: 5120
- Extension Name:
pgautofailover - Package Name:
pgautofailover - Category:
ADMIN - License: PostgreSQL
- Website: https://github.com/hapostgres/pg_auto_failover
- Language: C
- Extra Tags: N/A
- Comment: N/A
Metadata
- Latest Version: 2.2
- Postgres Support:
17,16,15,14,13 - Need Load: Explicit Loading Required
- Need DDL: Need
CREATE EXTENSIONDDL - Relocatable: Can be installed into other schemas
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires:
btree_gist
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
pg_auto_failover_$v* - RPM Ver :
2.2 - RPM Deps: N/A
- DEB Repo: PGDG
- DEB Name:
postgresql-$v-auto-failover - DEB Ver :
2.1 - DEB Deps: N/A
Availability
Installation
Install pgautofailover via the pig CLI tool:
pig ext install pgautofailover
Install pgautofailover via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgautofailover"]}' # -l <cls>
Install pgautofailover RPM from YUM repo directly:
dnf install pg_auto_failover_16*;
dnf install pg_auto_failover_15*;
dnf install pg_auto_failover_14*;
dnf install pg_auto_failover_13*;
Install pgautofailover DEB from APT repo directly:
apt install postgresql-17-auto-failover;
apt install postgresql-16-auto-failover;
apt install postgresql-15-auto-failover;
apt install postgresql-14-auto-failover;
apt install postgresql-13-auto-failover;
Extension pgautofailover has to be loaded via shared_preload_libraries
shared_preload_libraries = 'pgautofailover'; # add to pg cluster config
Create pgautofailover extension on PostgreSQL cluster:
CREATE EXTENSION pgautofailover CASCADE;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.