Commit 6039fa61 authored by Chenjerai Katanda's avatar Chenjerai Katanda

Add instructions for enabling the `pg_trgm` extension in the production db. As...

Add instructions for enabling the `pg_trgm` extension in the production db. As a workaround to [a fault during HA setup](https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2501).
parent f81ed493
...@@ -97,9 +97,12 @@ If you use a cloud-managed service, or provide your own PostgreSQL: ...@@ -97,9 +97,12 @@ If you use a cloud-managed service, or provide your own PostgreSQL:
Enter new password: Enter new password:
Enter it again: Enter it again:
``` ```
1. Exit from editing `template1` prompt by typing `\q` and Enter.
1. Enable the `pg_trgm` extension: 1. Enable the `pg_trgm` extension within the `gitlabhq_production` database:
``` ```
gitlab-psql -d gitlabhq_production
CREATE EXTENSION pg_trgm; CREATE EXTENSION pg_trgm;
# Output: # Output:
......
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