diff --git a/doc/upgrading-repmgr.sgml b/doc/upgrading-repmgr.sgml index ed0eba33..0620d905 100644 --- a/doc/upgrading-repmgr.sgml +++ b/doc/upgrading-repmgr.sgml @@ -11,22 +11,82 @@ containing bugfixes and other minor improvements. Any substantial new functionality will be included in a feature release (e.g. 4.0.x to 4.1.x). - - &repmgr; is implemented as a PostgreSQL extension; to upgrade it, first - install the updated package (or compile the updated source), then in the - database where the &repmgr; extension is installed, execute - ALTER EXTENSION repmgr UPDATE. - - - If repmgrd is running, it may be necessary to restart - the PostgreSQL server if the upgrade contains changes to the shared object - file used by repmgrd; check the release notes for details. - - - Please check the release notes for every - release as they may contain upgrade instructions particular to individual versions. - + + + upgrading + repmgr 4.x and later + + Upgrading repmgr 4.x and later + + &repmgr; 4.x is implemented as a PostgreSQL extension; normally the upgrade consists + of the two following steps: + + + + Install the updated package (or compile the updated source) + + + + + In the database where the &repmgr; extension is installed, execute + ALTER EXTENSION repmgr UPDATE. + + + + + + + Always check the release notes for every + release as they may contain upgrade instructions particular to individual versions. + + + + If the repmgrd daemon is in use, we recommend stopping it + before upgrading &repmgr;. + + + Note that it may be necessary to restart the PostgreSQL server if the upgrade contains + changes to the shared object file used by repmgrd; check the + release notes for details. + + + + + + upgrading + pg_upgrade + + + pg_upgrade + + pg_upgrade and repmgr + + + pg_upgrade requires that if any functions are + dependent on a shared library, this library must be present in both + the old and new installations before pg_upgrade + can be executed. + + + To minimize the risk of any upgrade issues (particularly if an upgrade to + a new major &repmgr; version is involved), we recommend upgrading + &repmgr; on the old server before running + pg_upgrade to ensure that old and new + versions are the same. + + + + This issue applies to any PostgreSQL extension which has + dependencies on a shared library. + + + + For further details please see the pg_upgrade documentation. + + + +