Skip to content

Rate this page
☆ ☆ ☆ ☆ ☆
Thanks for your feedback
Thank you! The feedback has been submitted.

Get free database assistance or contact our experts for personalized support.

PostgreSQL version

The postgresql_version_check check reports when the major version of PostgreSQL or Percona Distribution for PostgreSQL has reached its end of life (EOL) or reaches it within six months, and otherwise when a newer minor or major version is available.

Description

The check reads the server version from the server_version_num setting and returns at most one finding per service.

The finding depends on the major version that you run, where <product> is Percona Distribution for PostgreSQL or PostgreSQL:

Major version Finding Severity
Has reached EOL <product> <major> reached end of life Error
Reaches EOL within the next six months, up to and including the EOL date <product> <major> reaches end of life on <date>. If a newer minor version exists, the finding also names it. Warning
Supported, with a newer minor or major version available Newer version of <product> is available. The finding names the newer version and the EOL date of the installed major version. Warning

The check tells the two products apart by the server_version setting, where Percona builds add “Percona Distribution” or “Percona Server for PostgreSQL”. It links to the release notes and lifecycle policy of that product. Percona Distribution for PostgreSQL follows the PostgreSQL minor versions and EOL dates, so the check compares both products with the same versions.

A major version past its EOL gets only the EOL error. A newer minor version of it doesn’t fix the problem, so the check doesn’t suggest one.

End-of-life dates

EOL versions no longer receive bug or security fixes from the vendor.

The check uses these EOL dates from the PostgreSQL versioning policy:

Major version End of life
9.0 October 8, 2015
9.1 October 27, 2016
9.2 November 9, 2017
9.3 November 8, 2018
9.4 February 13, 2020
9.5 February 11, 2021
9.6 November 11, 2021
10 November 10, 2022
11 November 9, 2023
12 November 21, 2024
13 November 13, 2025
14 November 12, 2026
15 November 11, 2027
16 November 9, 2028
17 November 8, 2029
18 November 14, 2030

The check doesn’t report a major version that isn’t in this table, such as a newer one that PMM doesn’t know yet.

The EOL finding’s labels show the running version (current), its major version (series) and the EOL date (eol_date). The finding links to the PostgreSQL versioning policy or, for Percona Distribution for PostgreSQL, to the Percona release lifecycle.

Newer versions

For a supported major version, the check compares the version with the latest minor version of the same major version, and then with the latest major version. The finding’s labels show the running version (current) and the newer version (latest). The finding links to the PostgreSQL release notes of the newer version or, for Percona Distribution for PostgreSQL, to the Percona Distribution for PostgreSQL release notes of its major version.

If a newer minor version of your major version exists, the finding also links to the PostgreSQL security information page, where you can check which vulnerabilities affect your current version.

Resolution

If your major version has reached EOL, or reaches it soon, upgrade to a supported major version. To choose one, compare the support dates in the PostgreSQL versioning policy and the Percona release lifecycle.

To upgrade PostgreSQL, follow these instructions:

Need more support from Percona?

Percona experts bring years of experience in tackling tough database performance issues and design challenges.