Commit c7a5f0ad authored by Andreas Brandl's avatar Andreas Brandl Committed by Adam Hegyi

Mention btree_gist extension requirement

parent 95e20330
...@@ -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