PostgreSQL 10 is no longer a supported major version
End of life as of 2022-11-10. Replacement: PostgreSQL 15 or later. Source: PostgreSQL versioning policy.
Check a version:
evergreen check pkg:generic/postgresql
The PostgreSQL Global Development Group lists 10 as unsupported: its final release was on 2022-11-10, so it receives no further bug or security fixes.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | End of life |
| Severity | high |
| Ecosystem | database |
| Component | pkg:generic/postgresql |
| Affected versions | vers:semver/>=10.0.0\|<11.0.0 |
| Date from the source | 2022-11-10 |
| Replacement | PostgreSQL 15 or later |
| Evidence last seen | 2026-10-29 |
| Reviewed | 2026-10-29 by arminazimi |
| Review due | 2027-01-27 (90 days after the last review) |
| Rule ID | database.postgresql.end-of-life-10 |
Sources
- PostgreSQL versioning policy (accessed 2026-10-29)
Migration
Constraints
- A PostgreSQL data directory written by one major version cannot be started by another. Changing the image tag of a service that has a volume will fail or, worse, start with an empty database.
- Upgrade with pg_upgrade or a dump and restore (pg_dumpall, then psql), and move to a supported major in one planned change instead of one major at a time unless the tool you use requires it.
- For managed databases, engine_version changes do not apply major upgrades unless allow_major_version_upgrade is set; plan the maintenance window before applying.
Steps
- Back up the data first. Take a verified backup or snapshot of every PostgreSQL instance in the reported files before changing any version. A major version change is not reversible by changing the version back.
- Upgrade the database cluster. Run the upgrade with pg_upgrade or restore a dump into a new instance on the target major version. On a managed database, upgrade through a snapshot restore or a reviewed engine_version change with allow_major_version_upgrade.
- Raise the declared version. Change the image tag in Compose files, or engine_version in Terraform, to the release in the replacement. Do this in every file and environment that runs this database, not only the reported line.
- Check clients and tooling. Update drivers, ORMs, CI service containers, and local setup documentation that assume the old PostgreSQL version.
Verification
docker compose config: Confirm the Compose file is valid and shows the intended PostgreSQL image tag after the change.terraform validate: Check that the Terraform configuration is valid with the new engine_version.terraform plan: Review the plan and confirm the engine_version change is the only database change, and that it is intended.
Detected by
The database detector. See Detectors and Compatibility.
Related
Other versions of this product
- PostgreSQL 11 is no longer a supported major version
- PostgreSQL 12 is no longer a supported major version
- PostgreSQL 13 is no longer a supported major version
- PostgreSQL 14 reaches the end of its support on 2026-11-12
Same ecosystem
- Aurora MySQL version 1 is past end of standard support
- Aurora MySQL version 2 is past end of standard support
- Aurora PostgreSQL 11 is past end of standard support
- Aurora PostgreSQL 12 is past end of standard support
- Aurora PostgreSQL 13 is past end of standard support
- Aurora PostgreSQL 14 reaches end of standard support on 2027-02-28
- ElastiCache for Redis OSS 4 is past end of standard support
- ElastiCache for Redis OSS 5 is past end of standard support
Data
This page is generated from registry/database.json, rule database.postgresql.end-of-life-10, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated