Ian Barwick 7bde686796 standby clone: handle missing "postgresql.auto.conf"
In PostgreSQL 12 and later we need to append replication configuration
to "postgresql.auto.conf" to guarantee it will be read last, and hence
override any preceding replication configuration which may be haunting
the configuration files.

We've been assuming that "postgresql.auto.conf" will always be present,
but at least one corner case has been observed where that was not the
case on the node being cloned from. Moreover it's perfectly acceptable
that this file does not exist (it will be recreated the next time
ALTER SYSTEM is executed), so we should be prepared to handle that case.

In passing, improve handling of more unlikely errors which might be
encountered when processing "postgresql.auto.conf".
2020-10-30 12:25:03 +09:00
2020-10-22 21:23:50 +09:00
2020-01-16 09:52:42 +09:00
2020-01-16 09:52:42 +09:00
2020-01-13 14:06:20 +09:00
2020-01-13 14:06:20 +09:00
2020-10-20 13:41:49 +09:00
2020-10-20 13:41:49 +09:00
2020-01-13 14:06:20 +09:00
2017-09-11 10:21:20 +09:00
2020-10-20 09:51:49 +09:00
2020-01-13 14:06:20 +09:00
2020-01-13 14:06:20 +09:00
2020-01-13 14:06:20 +09:00
2019-01-23 10:28:48 +09:00
2017-09-08 13:27:39 +09:00
2020-01-13 14:06:20 +09:00
2020-01-13 14:06:20 +09:00
2017-09-11 11:00:48 +09:00
2020-10-27 13:58:07 +09:00
2020-01-16 09:52:42 +09:00
2020-01-16 09:52:42 +09:00
2020-01-16 09:52:42 +09:00
2020-09-18 15:12:22 +09:00
2020-09-04 11:37:12 +09:00
2020-04-08 14:22:51 +09:00
2020-09-18 15:12:22 +09:00
2018-03-30 14:24:36 +09:00
2020-01-13 14:06:20 +09:00

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.

The most recent repmgr version (5.2.0) supports all PostgreSQL versions from 9.5 to 13. PostgreSQL 9.4 is also supported, with some restrictions.

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

Documentation

The full repmgr documentation is available here:

repmgr documentation

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

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

Note that the repmgr 3.x series is no longer supported and contains known bugs; please upgrade to the current repmgr version as soon as possible.

Versions

For an overview of repmgr versions and PostgreSQL compatibility, see the repmgr compatibility matrix.

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

repmgr v5.5.0 Latest
2024-11-22 14:34:48 +00:00
Languages
C 98.1%
Lex 1.3%
Makefile 0.4%
Perl 0.2%