Commit 4f22c441 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'docs/geo-required-extensions-sec-tracking-db' into 'master'

Geo - Add required extensions for secondary tracking databases

See merge request gitlab-org/gitlab!62799
parents 62d706c5 5d54a5cf
...@@ -9,7 +9,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w ...@@ -9,7 +9,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
This guide documents how to manage PostgreSQL extensions for installations with an external This guide documents how to manage PostgreSQL extensions for installations with an external
PostgreSQL database. PostgreSQL database.
The following extensions must be loaded into the GitLab database: You must load the following extensions into the main GitLab database (defaults to `gitlabhq_production`):
| Extension | Minimum GitLab version | | Extension | Minimum GitLab version |
|--------------|------------------------| |--------------|------------------------|
...@@ -17,6 +17,13 @@ The following extensions must be loaded into the GitLab database: ...@@ -17,6 +17,13 @@ The following extensions must be loaded into the GitLab database:
| `btree_gist` | 13.1 | | `btree_gist` | 13.1 |
| `plpgsql` | 11.7 | | `plpgsql` | 11.7 |
If you are using [GitLab Geo](https://about.gitlab.com/solutions/geo/), you must load the following
extensions into all secondary tracking databases (defaults to `gitlabhq_geo_production`):
| Extension | Minimum GitLab version |
|--------------|------------------------|
| `plpgsql` | 9.0 |
In order to install extensions, PostgreSQL requires the user to have superuser privileges. In order to install extensions, PostgreSQL requires the user to have superuser privileges.
Typically, the GitLab database user is not a superuser. Therefore, regular database migrations Typically, the GitLab database user is not a superuser. Therefore, regular database migrations
cannot be used in installing extensions and instead, extensions have to be installed manually cannot be used in installing extensions and instead, extensions have to be installed manually
......
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