Skip to content

PostgreSQL Version Lifecycle

Check which PostgreSQL major versions you can run on Managed PostgreSQL, how long each one is supported, and how to prepare for an upgrade.

Major Versions Offered

exo dbaas type show pg
| Available Versions | 15, 16, 17, 18, 19 |
| Default Version    | 18                 |

The list changes as versions are added and retired, so read it from the command rather than from this page. You choose the version at creation with --pg-version. Without the flag, the service gets the default version.

Minor Versions

You choose the major version, and the platform chooses the minor one. Minor releases contain bug and security fixes, and the platform applies them during the maintenance window. The version a service runs is in the Version row of exo dbaas show SERVICE_NAME -z ZONE, or in SQL:

SHOW server_version;

Version Status

StatusMeaning
ActiveListed under Available Versions. You can create services on it.
DeprecatedNo longer listed. Existing services keep running until the version reaches end of life.
End of LifeRetired from the platform. Services still on it are upgraded automatically to a supported version.

Upgrade before the end of life to choose the target version and the time of the upgrade yourself.

Upstream Support Dates

The PostgreSQL Global Development Group supports each major version for five years after its first release. After the final release, bugs and security issues found in that version are no longer fixed. The dates below come from the PostgreSQL versioning policy:

Major versionFirst releaseFinal upstream release
14September 30, 2021November 12, 2026
15October 13, 2022November 11, 2027
16September 14, 2023November 9, 2028
17September 26, 2024November 8, 2029
18September 25, 2025November 14, 2030
19November 19, 2026November 19, 2031

These are the dates of the PostgreSQL project. The end-of-life date of a version on Managed PostgreSQL can differ.

Prepare for End of Life

  1. Check the version each service runs: exo dbaas show SERVICE_NAME -z ZONE.
  2. Fork the service, upgrade the fork, and test your application and extensions on it. See Manage Backups and Restores.
  3. Upgrade the production service, and keep a way back until it is validated. See Upgrade to a New PostgreSQL Major Version.

Related Pages

Last updated on