Skip to content
代码片段 群组 项目
未验证 提交 8b476f7b 编辑于 作者: Ulises Fierro's avatar Ulises Fierro 提交者: GitLab
浏览文件

Added note about pg_shadow_loookup

Clarify that the function needs to be created when moving
from non-pgbouncer instances
上级 e284048a
No related branches found
No related tags found
无相关合并请求
...@@ -47,6 +47,7 @@ To move databases from one instance to another: ...@@ -47,6 +47,7 @@ To move databases from one instance to another:
/opt/gitlab/embedded/bin/psql -h $DST_PGHOST -U $DST_PGUSER -f gitlabhq_production.sql postgres /opt/gitlab/embedded/bin/psql -h $DST_PGHOST -U $DST_PGUSER -f gitlabhq_production.sql postgres
``` ```
1. Optional. If you migrate from a database that doesn't use PgBouncer to a database that does, you must manually add a [`pg_shadow_lookup` function](../gitaly/praefect.md#manual-database-setup) to the application database (usually `gitlabhq_production`).
1. Configure the GitLab application servers with the appropriate connection details 1. Configure the GitLab application servers with the appropriate connection details
for your destination PostgreSQL instance in your `/etc/gitlab/gitlab.rb` file: for your destination PostgreSQL instance in your `/etc/gitlab/gitlab.rb` file:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册