diff options
author | Drew Blessing <drew@blessing.io> | 2017-07-25 15:29:16 +0000 |
---|---|---|
committer | Drew Blessing <drew@blessing.io> | 2017-07-25 15:29:16 +0000 |
commit | ba24fa87d1d8e70b8d187ae55feaf49dc58da4fd (patch) | |
tree | 3931872839af6610f0c795659e5b9043a47add0f /doc/administration | |
parent | 2a572d2634891b367052897bd1e4a8825fc443d6 (diff) | |
parent | 6039fa610c43fea950a96628ae26158c475d42b2 (diff) | |
download | gitlab-ce-ba24fa87d1d8e70b8d187ae55feaf49dc58da4fd.tar.gz |
Merge branch 'patch-23' into 'master'
Add instructions for enabling the `pg_trgm` during HA setup.
See merge request !13057
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: |