Skip to content
代码片段 群组 项目
提交 5d54a5cf 编辑于 作者: Anton Smith's avatar Anton Smith 提交者: Marcia Ramos
浏览文件

Geo - Add required extensions for secondary tracking databases

上级 62d706c5
No related branches found
No related tags found
无相关合并请求
...@@ -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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册