You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/settings/database.md
+7-11Lines changed: 7 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -800,16 +800,16 @@ Before proceeding with the upgrade, note the following:
800
800
[default version in the compatibility table](https://docs.gitlab.com/ee/administration/package_information/postgresql_versions.html)
801
801
determines which client binaries (such as the PostgreSQL backup/restore binaries) are active.
802
802
803
-
The following example demonstrates upgrading from a database host running PostgreSQL12 to another database host running PostgreSQL13and incurs downtime:
803
+
The following example demonstrates upgrading from a database host running PostgreSQL13 to another database host running PostgreSQL14and incurs downtime:
804
804
805
-
1. Spin up a newPostgreSQL13 database server that's set up according to the [database requirements](https://docs.gitlab.com/ee/install/requirements.html#database).
805
+
1. Spin up a newPostgreSQL14 database server that's set up according to the [database requirements](https://docs.gitlab.com/ee/install/requirements.html#database).
806
806
807
807
1. Ensure that the compatible versions of `pg_dump` and `pg_restore` are being
808
808
used on the GitLab Rails instance. To amend GitLab configuration, edit
809
809
`/etc/gitlab/gitlab.rb` and specify the value of `postgresql['version']`:
810
810
811
811
```ruby
812
-
postgresql['version'] = 13
812
+
postgresql['version'] = 14
813
813
```
814
814
815
815
1. Reconfigure GitLab:
@@ -835,10 +835,10 @@ when your installation is using PgBouncer.
### Pin the packaged PostgreSQL version (fresh installs only)
912
912
913
-
NOTE:
914
-
GitLab14.1and onward shipped with both Postgres12andPostgres13.
915
-
GitLab14.0 only ships with PostgreSQL12. GitLab13.3and onward shipped both Postgres11andPostgres12.
916
-
GitLab13.0 through 13.2 only shipped with PostgreSQL11.
917
-
918
-
TheLinux package installation initializes PostgreSQL with the [default version](https://docs.gitlab.com/ee/administration/package_information/postgresql_versions.html).
913
+
TheLinux package ships with [different PostgreSQL versions](https://docs.gitlab.com/ee/administration/package_information/postgresql_versions.html)
914
+
and initializes the default version ifnot specified otherwise.
919
915
920
916
ToinitializePostgreSQL with a non-default version, you can set `postgresql['version']` to the major version one of
921
917
the [packaged PostgreSQL versions](https://docs.gitlab.com/ee/administration/package_information/postgresql_versions.html) prior to the initial reconfigure.
0 commit comments