Ian Barwick c793b1b7d2 repmgr: fix generation of default "dbname"
If not explicitly provided, "dbname" was being set early to the default
"username" value, which was leading to different behaviour to libpq
applications, where "dbname" defaults to "username" at connection
time.
2017-06-30 17:13:59 +09:00
2017-06-22 15:28:31 +09:00
2017-06-23 21:42:28 +09:00
2017-05-01 23:34:01 +09:00
2017-05-01 23:34:01 +09:00
2017-04-19 10:12:52 +09:00
2017-05-31 23:01:20 +09:00
2017-06-30 13:40:19 +09:00
2017-06-30 13:40:19 +09:00
2017-06-12 21:27:09 +09:00
2017-04-28 22:00:26 +09:00
2017-06-20 01:35:33 +09:00
2017-04-25 08:22:58 +09:00
2017-06-23 21:33:54 +09:00
2017-06-30 13:40:19 +09:00
2017-06-30 16:04:47 +09:00
2017-04-19 10:12:26 +09:00
2017-06-28 16:38:41 +09:00
2017-06-30 16:04:47 +09:00
2017-05-02 14:25:08 +09:00
2017-05-05 10:50:41 +09:00
2017-06-30 13:40:19 +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.

repmgr 4 is a complete rewrite of the existing repmgr codebase.

Supports PostgreSQL 9.6 and later; support for 9.3 has been dropped, 9.4/9.5 may be supported if feasible.

Building from source

Simply:

./configure && make install

Ensure pg_config for the target PostgreSQL version is in $PATH.

Commands

Currently available:

repmgr primary register
repmgr primary unregister

repmgr standby clone
repmgr standby register
repmgr standby unregister
repmgr standby promote
repmgr standby follow

repmgr cluster event [--all] [--node-id] [--node-name] [--event] [--event-matching]

Backwards compatibility

See also: doc/changes-in-repmgr4.md

repmgr is now implemented as a PostgreSQL extension. NOTE: no need to install the extension, this will be done automatically by repmgr primary register.

Metadata tables have been revised and are not backwards-compatible with 3.x. (however future DDL updates will be easier as they can be carried out via the ALTER EXTENSION mechanism.

TODO: extension upgrade script for pre-4.0

Some configuration items have had their names changed for consistency and clarity e.g. node => node_id. repmgr will issue a warning about deprecated/altered options.

Some configuration items have been changed to command line options, and vice-versa, e.g. to avoid hard-coding things like a node's upstream ID which might change.

TODO: possibly add a config file conversion script/function.

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%