Skip to content
The Most Popular Replication Manager for PostgreSQL (Postgres) - latest version 4.3 (2019-04-02)
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contrib repmgrd: various fixes for "manual" failover mode Aug 23, 2017
doc doc: document "primary_visibility_consensus" May 17, 2019
expected Fix regression test Jan 14, 2019
scripts Initial BDR failover documentation Jul 27, 2017
sql Remove unneeded functions Nov 20, 2017
.gitignore doc: convert documentation to DocBook XML May 9, 2019
CONTRIBUTING.md Update copyright notices to 2019 Jan 21, 2019
COPYRIGHT Update copyright notices to 2019 Jan 21, 2019
CREDITS Add/update various documents Sep 11, 2017
FAQ.md doc: use "/current/" in URL path Jan 23, 2019
HISTORY cluster show/daemon status: report if node not attached to advertised… May 14, 2019
LICENSE Add copyright notices Sep 8, 2017
Makefile.global.in Makefiles and placeholder code Apr 18, 2017
Makefile.in doc: convert documentation to DocBook XML May 9, 2019
PACKAGES.md Add further documentation files Sep 11, 2017
README.md doc: update README Apr 3, 2019
TODO.md Add TODO list Mar 30, 2018
compat.c Update copyright notices to 2019 Jan 21, 2019
compat.h Update copyright notices to 2019 Jan 21, 2019
config.h.in Remove --bdr-only configuration option Jan 25, 2018
configfile.c repmgrd: monitor standbys attached to primary Apr 22, 2019
configfile.h repmgrd: monitor standbys attached to primary Apr 22, 2019
configure doc: convert documentation to DocBook XML May 9, 2019
configure.in doc: convert documentation to DocBook XML May 9, 2019
controldata.c Update pg_control processing for PostgreSQL 12 Apr 18, 2019
controldata.h Update pg_control processing for PostgreSQL 12 Apr 18, 2019
dbutils.c Change return type of is_downstream_node_attached() from bool to Node… May 14, 2019
dbutils.h Change return type of is_downstream_node_attached() from bool to Node… May 14, 2019
dirutil.c standby clone: always ensure directory is created with correct permis… Apr 9, 2019
dirutil.h Update copyright notices to 2019 Jan 21, 2019
errcode.h "daemon start": initial implementation Jan 29, 2019
log.c Use sizeof(buf) rather than hard-coding value Mar 27, 2019
log.h Update copyright notices to 2019 Jan 21, 2019
repmgr--4.0--4.1.sql Update extension metadata for 4.1 release Jul 24, 2018
repmgr--4.0.sql repmgr: initialise "voting_term" in "repmgr primary register" Nov 28, 2017
repmgr--4.1--4.2.sql Move repmgrd pid functions to 4.1 → 4.2 upgrade file Oct 10, 2018
repmgr--4.1.sql Move repmgrd pid functions to 4.1 → 4.2 upgrade file Oct 10, 2018
repmgr--4.2--4.3.sql repmgrd: optionally disconnect WAL receivers during failover Mar 6, 2019
repmgr--4.2.sql Add functionality to "pause" repmgrd Sep 27, 2018
repmgr--4.3--4.4.sql repmgrd: always unset upstream node ID when monitoring a primary Apr 12, 2019
repmgr--4.3.sql repmgrd: optionally disconnect WAL receivers during failover Mar 6, 2019
repmgr--4.4.sql repmgrd: always unset upstream node ID when monitoring a primary Apr 12, 2019
repmgr--unpackaged--4.0.sql Fix unpackaged upgrade SQL for PostgreSQL 9.3 Dec 4, 2017
repmgr-action-bdr.c Ensure BDR-specific code only runs on BDR 2.x Apr 5, 2019
repmgr-action-bdr.h Update copyright notices to 2019 Jan 21, 2019
repmgr-action-cluster.c cluster show/daemon status: report upstream node mismatches May 14, 2019
repmgr-action-cluster.h Restrict "node_name" to maximum 63 characters Mar 28, 2019
repmgr-action-daemon.c cluster show/daemon status: report upstream node mismatches May 14, 2019
repmgr-action-daemon.h
repmgr-action-node.c Change return type of is_downstream_node_attached() from bool to Node… May 14, 2019
repmgr-action-node.h repmgrd: optionally disconnect WAL receivers during failover Mar 6, 2019
repmgr-action-primary.c Standardize on "ID: %i" when logging node IDs Apr 30, 2019
repmgr-action-primary.h Update copyright notices to 2019 Jan 21, 2019
repmgr-action-standby.c Change return type of is_downstream_node_attached() from bool to Node… May 14, 2019
repmgr-action-standby.h node rejoin: improve error code handling Jan 24, 2019
repmgr-action-witness.c Improve database connection failure logging Mar 20, 2019
repmgr-action-witness.h Update copyright notices to 2019 Jan 21, 2019
repmgr-client-global.h cluster show/daemon status: report upstream node mismatches May 14, 2019
repmgr-client.c cluster show/daemon status: report if node not attached to advertised… May 14, 2019
repmgr-client.h repmgr client: mark some options as deprecated May 13, 2019
repmgr.c repmgrd: always unset upstream node ID when monitoring a primary Apr 12, 2019
repmgr.conf.sample repmgrd: monitor standbys attached to primary Apr 22, 2019
repmgr.control Bump master branch to 4.4dev Mar 28, 2019
repmgr.h repmgrd: monitor standbys attached to primary Apr 22, 2019
repmgr_version.h.in Bump master branch to 4.4dev Mar 28, 2019
repmgrd-bdr.c Remove unused line Apr 30, 2019
repmgrd-bdr.h Update copyright notices to 2019 Jan 21, 2019
repmgrd-physical.c repmgrd: add missing PQfinish() calls May 2, 2019
repmgrd-physical.h Update copyright notices to 2019 Jan 21, 2019
repmgrd.c Clarify hints about updating the repmgr extension Apr 24, 2019
repmgrd.h repmgrd: handle reconnect to restarted server when using "connection"… Mar 6, 2019
strutil.c daemon status: make output more like that of "cluster show" Apr 25, 2019
strutil.h Update copyright notices to 2019 Jan 21, 2019
sysutils.c Handle unhandled error situation in enable_wal_receiver() Mar 28, 2019
sysutils.h repmgrd: don't wait for WAL receiver to reconnect during failover Mar 6, 2019
voting.h Update copyright notices to 2019 Jan 21, 2019

README.md

repmgr: Replication Manager for PostgreSQL

repmgr is a suite of open-source tools to manage replication and failover within a cluster of PostgreSQL servers. It enhances PostgreSQL's built-in replication capabilities with utilities to set up standby servers, monitor replication, and perform administrative tasks such as failover or switchover operations.

repmgr 4 is a complete rewrite of the existing repmgr codebase, allowing the use of all of the latest features in PostgreSQL replication.

PostgreSQL 11, 10, 9.6 and 9.5 are fully supported. PostgreSQL 9.4 and 9.3 are supported, with some restrictions.

repmgr is distributed under the GNU GPL 3 and maintained by 2ndQuadrant.

BDR support

repmgr 4 supports monitoring of a two-node BDR 2.0 cluster on PostgreSQL 9.6 only. Note that BDR 2.0 is not publicly available; please contact 2ndQuadrant for details.

Documentation

The main repmgr documentation is available here:

repmgr documentation

The README file for repmgr 3.x is available here:

https://github.com/2ndQuadrant/repmgr/blob/REL3_3_STABLE/README.md

Files

  • CONTRIBUTING.md: details on how to contribute to repmgr
  • COPYRIGHT: Copyright information
  • HISTORY: Summary of changes in each repmgr release
  • LICENSE: GNU GPL3 details

Directories

  • contrib/: additional utilities
  • doc/: DocBook-based documentation files
  • expected/: expected regression test output
  • scripts/: example scripts
  • sql/: regression test input

Support and Assistance

2ndQuadrant provides 24x7 production support for repmgr, including configuration assistance, installation verification and training for running a robust replication cluster. For further details see:

There is a mailing list/forum to discuss contributions or issues:

The IRC channel #repmgr is registered with freenode.

Please report bugs and other issues to:

Further information is available at https://repmgr.org/

We'd love to hear from you about how you use repmgr. Case studies and news are always welcome. Send us an email at info@2ndQuadrant.com, or send a postcard to

repmgr
c/o 2ndQuadrant
7200 The Quorum
Oxford Business Park North
Oxford
OX4 2JZ
United Kingdom

Thanks from the repmgr core team.

  • Ian Barwick
  • Jaime Casanova
  • Abhijit Menon-Sen
  • Simon Riggs
  • Cedric Villemain

Further reading

You can’t perform that action at this time.