Commit bc9a4fb3 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

State explicitly to remove the gitlab_repmgr database

This is not an optional step if you intend to
upgrade from PG 11 to PG 12 after you've migrated
from repmgr to Patroni.
parent e8043280
......@@ -900,7 +900,12 @@ You can switch an exiting database cluster to use Patroni instead of repmgr with
```
1. Repeat the last two steps for all replica nodes. `gitlab.rb` should look the same on all nodes.
1. Optional: You can remove `gitlab_repmgr` database and role on the primary.
1. If present, remove the `gitlab_repmgr` database and role on the primary. If you don't delete the `gitlab_repmgr`
database, upgrading PostgreSQL 11 to 12 will fail with:
```plaintext
could not load library "$libdir/repmgr_funcs": ERROR: could not access file "$libdir/repmgr_funcs": No such file or directory
```
### Upgrading PostgreSQL major version in a Patroni cluster
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment