PostgreSQL 11 is not shipped with repmgr
HA database installation fails with the embedded PostgreSQL 11, because it is not shipped with repmgr library. repmgr_funcs.so
is missing from opt/gitlab/embedded/postgresql/11/lib/
hence the service fails to start.
The embedded PostgreSQL 9.6 and 10 both use repmgr 3.3 but this version does not work with PostgreSQL 11. The minimum version of repmgr that is compatible with PostgreSQL 11 is 4.2. Support for PostgreSQL 12 is started from version 5.0.
This problem was discovered in #4970 (closed)
Edited by Hossein Pursultani