PostgreSQL versions shipped with the Linux package

note
This table lists only GitLab versions where a significant change happened in the package regarding PostgreSQL versions, not all.

Usually, PostgreSQL versions change with major or minor GitLab releases. However, patch versions of the Linux package sometimes update the patch level of PostgreSQL. We’ve established a yearly cadence for PostgreSQL upgrades and trigger automatic database upgrades in the release before the new version is required.

For example:

  • Linux package 12.7.6 shipped with PostgreSQL 9.6.14 and 10.9.
  • Linux package 12.7.7 shipped with PostgreSQL 9.6.17 and 10.12.

Find out which versions of PostgreSQL (and other components) ship with each Linux package release.

The lowest supported PostgreSQL versions are listed in the installation requirements.

Read more about update policies and warnings in the PostgreSQL upgrade docs.

GitLab versionPostgreSQL versionsDefault version for fresh installsDefault version for upgradesNotes
16.2.013.11, 14.813.1113.11For upgrades, users can manually upgrade to 14.8 following the upgrade documentation.
16.0.213.1113.1113.11 
16.0.013.813.813.8 
15.11.713.1113.1112.12 
15.10.813.1113.1112.12 
15.612.12, 13.813.812.12For upgrades, users can manually upgrade to 13.8 following the upgrade documentation.
15.012.10, 13.613.612.10For upgrades, users can manually upgrade to 13.6 following the upgrade documentation.
14.112.7, 13.312.712.7PostgreSQL 13 available for fresh installations if not using Geo or Patroni.
14.012.712.712.7HA installations with repmgr are no longer supported and are prevented from upgrading to Linux package 14.0
13.811.9, 12.412.412.4Package upgrades automatically performed PostgreSQL upgrade for nodes that are not part of a Geo or HA cluster.
13.711.9, 12.412.411.9For upgrades users can manually upgrade to 12.4 following the upgrade documentation.
13.411.9, 12.411.911.9Package upgrades aborted if users not running PostgreSQL 11 already
13.311.7, 12.311.711.7Package upgrades aborted if users not running PostgreSQL 11 already
13.011.711.711.7Package upgrades aborted if users not running PostgreSQL 11 already
12.109.6.17, 10.12, and 11.711.711.7Package upgrades automatically performed PostgreSQL upgrade for nodes that are not part of a Geo or repmgr cluster.
12.89.6.17, 10.12, and 11.710.1210.12Users can manually upgrade to 11.7 following the upgrade documentation.
12.09.6.11 and 10.710.710.7Package upgrades automatically performed PostgreSQL upgrade.
11.119.6.11 and 10.79.6.119.6.11Users can manually upgrade to 10.7 following the upgrade documentation.
10.09.6.39.6.39.6.3Package upgrades aborted if users still on 9.2.
9.09.2.18 and 9.6.19.6.19.6.1Package upgrades automatically performed PostgreSQL upgrade.
8.149.2.18 and 9.6.19.2.189.2.18Users can manually upgrade to 9.6 following the upgrade documentation.