summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDrew Blessing <drew@blessing.io>2017-07-25 15:29:16 +0000
committerDrew Blessing <drew@blessing.io>2017-07-25 15:29:16 +0000
commitba24fa87d1d8e70b8d187ae55feaf49dc58da4fd (patch)
tree3931872839af6610f0c795659e5b9043a47add0f /doc
parent2a572d2634891b367052897bd1e4a8825fc443d6 (diff)
parent6039fa610c43fea950a96628ae26158c475d42b2 (diff)
downloadgitlab-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')
-rw-r--r--doc/administration/high_availability/database.md7
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: