mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-29 12:00:32 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -1056,6 +1056,15 @@ Considering these, you should carefully plan your PostgreSQL upgrade:
|
||||
sudo gitlab-ctl pg-upgrade
|
||||
```
|
||||
|
||||
1. Ensure that the compatible versions of `pg_dump` and `pg_restore` are used
|
||||
on the GitLab Rails instance to avoid version mismatch errors when performing
|
||||
a backup or restore. You can do this by specifying the PostgreSQL version
|
||||
in `/etc/gitlab/gitlab.rb` on the Rails instance:
|
||||
|
||||
```shell
|
||||
postgresql['version'] = 16
|
||||
```
|
||||
|
||||
If issues are encountered upgrading the replicas,
|
||||
[there is a troubleshooting section](replication_and_failover_troubleshooting.md#postgresql-major-version-upgrade-fails-on-a-patroni-replica) that might be the solution.
|
||||
|
||||
|
Reference in New Issue
Block a user