diff options
author | Chenjerai Katanda <ckatanda@gitlab.com> | 2017-07-24 16:20:49 +0000 |
---|---|---|
committer | Chenjerai Katanda <ckatanda@gitlab.com> | 2017-07-24 16:20:49 +0000 |
commit | 6039fa610c43fea950a96628ae26158c475d42b2 (patch) | |
tree | 0ce46cfa09a0b4dd0a7bf6f88c8fb5fcf9707c54 /doc/administration | |
parent | f81ed493e1f02e5a197df3e2df9c5e42cb09e7ff (diff) | |
download | gitlab-ce-6039fa610c43fea950a96628ae26158c475d42b2.tar.gz |
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).
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/high_availability/database.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/administration/high_availability/database.md b/doc/administration/high_availability/database.md index da9687aa849..ca6d8d2de67 100644 --- a/doc/administration/high_availability/database.md +++ b/doc/administration/high_availability/database.md @@ -97,9 +97,12 @@ If you use a cloud-managed service, or provide your own PostgreSQL: Enter new password: Enter it again: ``` - -1. Enable the `pg_trgm` extension: +1. Exit from editing `template1` prompt by typing `\q` and Enter. +1. Enable the `pg_trgm` extension within the `gitlabhq_production` database: + ``` + gitlab-psql -d gitlabhq_production + CREATE EXTENSION pg_trgm; # Output: |