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
| Status | Meaning |
|---|---|
| Active | Listed under Available Versions. You can create services on it. |
| Deprecated | No longer listed. Existing services keep running until the version reaches end of life. |
| End of Life | Retired 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 version | First release | Final upstream release |
|---|---|---|
| 14 | September 30, 2021 | November 12, 2026 |
| 15 | October 13, 2022 | November 11, 2027 |
| 16 | September 14, 2023 | November 9, 2028 |
| 17 | September 26, 2024 | November 8, 2029 |
| 18 | September 25, 2025 | November 14, 2030 |
| 19 | November 19, 2026 | November 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
- Check the version each service runs:
exo dbaas show SERVICE_NAME -z ZONE. - Fork the service, upgrade the fork, and test your application and extensions on it. See Manage Backups and Restores.
- Upgrade the production service, and keep a way back until it is validated. See Upgrade to a New PostgreSQL Major Version.