Commit 7db9935c authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'jfarmiloe-master-patch-39453' into 'master'

Modify shell command which configures PostgreSQL repo to match that used in PostgreSQL docs

See merge request gitlab-org/gitlab!54185
parents 0289d503 17309ef6
...@@ -287,9 +287,9 @@ In GitLab 12.1 and later, only PostgreSQL is supported. In GitLab 13.0 and later ...@@ -287,9 +287,9 @@ In GitLab 12.1 and later, only PostgreSQL is supported. In GitLab 13.0 and later
```shell ```shell
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
RELEASE=$(lsb_release -cs) echo "deb http://apt.postgresql.org/pub/repos/apt/ ${RELEASE}"-pgdg main | sudo tee /etc/apt/sources.list.d/pgdg.list sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo apt update sudo apt update
sudo apt -y install postgresql-11 postgresql-client-11 libpq-dev sudo apt -y install postgresql-12 postgresql-client-12 libpq-dev
``` ```
1. Verify the PostgreSQL version you have is supported by the version of GitLab you're 1. Verify the PostgreSQL version you have is supported by the version of GitLab you're
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment