Commit aa366243 authored by Adam Hegyi's avatar Adam Hegyi

Merge branch 'docs-btree-gist' into 'master'

Mention btree_gist extension requirement

See merge request gitlab-org/gitlab!37463
parents 0baf75ed c7a5f0ad
...@@ -804,10 +804,11 @@ SSH into the **primary node**: ...@@ -804,10 +804,11 @@ SSH into the **primary node**:
gitlab-psql -d gitlabhq_production gitlab-psql -d gitlabhq_production
``` ```
1. Enable the `pg_trgm` extension: 1. Enable the `pg_trgm` and `btree_gist` extensions:
```shell ```shell
CREATE EXTENSION pg_trgm; CREATE EXTENSION pg_trgm;
CREATE EXTENSION btree_gist;
``` ```
1. Exit the database prompt by typing `\q` and Enter. 1. Exit the database prompt by typing `\q` and Enter.
......
...@@ -333,7 +333,7 @@ Starting from GitLab 12.1, only PostgreSQL is supported. Since GitLab 13.0, we r ...@@ -333,7 +333,7 @@ Starting from GitLab 12.1, only PostgreSQL is supported. Since GitLab 13.0, we r
sudo -u postgres psql -d template1 -c "CREATE USER git CREATEDB;" sudo -u postgres psql -d template1 -c "CREATE USER git CREATEDB;"
``` ```
1. Create the `pg_trgm` extension (required for GitLab 8.6+): 1. Create the `pg_trgm` extension:
```shell ```shell
sudo -u postgres psql -d template1 -c "CREATE EXTENSION IF NOT EXISTS pg_trgm;" sudo -u postgres psql -d template1 -c "CREATE EXTENSION IF NOT EXISTS pg_trgm;"
......
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