From 9ce981c9f8243697d91d058d00429537a4000cbb Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 22 Jun 2017 15:28:31 +0900 Subject: [PATCH] Documentation updates --- README.md | 17 ++++++++++++++++- doc/changes-in-repmgr4.md | 16 +++++++++++++--- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d8dad426..526804f1 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,18 @@ operations. `repmgr 4` is a complete rewrite of the existing `repmgr` codebase. +Supports PostgreSQL 9.3 and later. + +Building from source +-------------------- + +Simply: + + ./configure && make install + +Ensure `pg_config` for the target PostgreSQL version is in `$PATH`. + + Commands -------- @@ -29,7 +41,10 @@ Currently available: Backwards compatibility ----------------------- -`repmgr` is now implemented as a PostgreSQL extension. +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 master 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 diff --git a/doc/changes-in-repmgr4.md b/doc/changes-in-repmgr4.md index 93076546..7862046f 100644 --- a/doc/changes-in-repmgr4.md +++ b/doc/changes-in-repmgr4.md @@ -2,13 +2,23 @@ New command line options ------------------------ -- --dry-run: repmgr will attempt to perform the action as far as possible +- `--dry-run`: repmgr will attempt to perform the action as far as possible without making any changes to the database Changed command line options ---------------------------- -- --replication-user is now passed when registering the master server (and + +### repmgr + +- `--replication-user` is now passed when registering the master server (and optionally when registering a standby), *not* during standby clone/follow. The value (defaults to the user in the conninfo string) will be stored in - the repmgr metadata for use by standby clone/follow.. \ No newline at end of file + the repmgr metadata for use by standby clone/follow.. + +### repmgrd + +- `--monitoring-history` is deprecated and has been replaced by the + configuration file option `monitoring_history`. This enables the + setting to be changed without having to modify system service files. +