---
title: "PostgreSQL Version Lifecycle"
description: "PostgreSQL major versions offered by Managed PostgreSQL, their lifecycle status, upstream end-of-life dates, and how to prepare for an upgrade."
url: https://community.exoscale.com/product/dbaas/service-specific/postgresql/reference/version-lifecycle/
product: "PostgreSQL"
section: product
last_updated: 2026-11-24
---
> For AI agents: the documentation index is at https://community.exoscale.com/llms.txt. Every page is available as markdown at `<page URL>index.md` or with `Accept: text/markdown`.

# 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

```bash
exo dbaas type show pg
```

```text
| 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](https://community.exoscale.com/product/dbaas/how-to/maintenance-windows/index.md). The version a service runs is in
the `Version` row of `exo dbaas show SERVICE_NAME -z ZONE`, or in SQL:

```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](https://www.postgresql.org/support/versioning/):

| 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

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](https://community.exoscale.com/product/dbaas/how-to/backups-restore/index.md#forks).
3. Upgrade the production service, and keep a way back until it is validated. See
   [Upgrade to a New PostgreSQL Major Version](https://community.exoscale.com/product/dbaas/service-specific/postgresql/how-to/upgrade-major-version/index.md).

## Related Pages

- [Upgrade to a New PostgreSQL Major Version](https://community.exoscale.com/product/dbaas/service-specific/postgresql/how-to/upgrade-major-version/index.md)
- [Manage Backups and Restores](https://community.exoscale.com/product/dbaas/how-to/backups-restore/index.md)
- [Manage Maintenance Windows](https://community.exoscale.com/product/dbaas/how-to/maintenance-windows/index.md)

