Skip to content

Set PG 11 as the default for pg-upgrade, and automatically update installs that don't use HA or Geo

DJ Mountney requested to merge pg-default-pg11 into master

Summary

Set PG11 as the default installed version, and also the default pg-upgrade version, unless Geo or HA is in use.

Closes: #5092 (closed)

Test plan

Single node tests should be done on both a .deb and .rpm package, as symlink replacement for packaged software, and the upgrade script run ever so slightly differently. (HA setups shouldn't behave different from single-node for deb vs rpm variations)

  • Test fresh install
    • Defaults to PG 11
    • Setting postgres version manually to older version still works
  • Upgrade with postgres version set to old version (no auto upgrade)
  • Upgrade with /etc/gitlab/disable-postgresql-upgrade (no auto upgrade)
  • Normal single node upgrade from older pg version (auto-upgrade)
  • PG upgrade from older pg version (auto-upgrade)
  • Geo upgrade from older pg version (auto-upgrade)
Edited by Larissa Lane

Merge request reports