Add PostgreSQL 12 as opt-in for fresh installs with no HA or Geo
Summary
GitLab 13.0 bundles a single version of PostgreSQL, 11. Soon after 13.0 we should add support for PostgreSQL 12 so that we have more than one version to choose from and users can benefit from features and improvements added in PostgreSQL 12.
Proposal
Start including PostgreSQL 12.X as part of the omnibus-gitlab package, as an opt-in version of PostgreSQL. The default version for new installs and upgrades will still be PostgreSQL 11.
The end state of this issue should be
- 11.X will be the default version that is installed.
- 12.X will be an option for fresh installations that don't have HA or Geo
- It will be opt-in. Setting
postgresql['version'] = 12
ahead of installation will do a new installation with version 12.
- It will be opt-in. Setting
- Documentation exists that explains how to opt in during a fresh install. It includes a disclaimer that PG12 is not yet supported for upgrades, HA, or Geo.
Out of scope
- We will handle automatic upgrades in a separate issue.
- We will verify that this works for different installation types (HA, GEO, etc) in a separate issue
Edited by Larissa Lane