E.15. Postgres Pro Standard 12.11.1

Release Date: 2022-05-25

E.15.1. Overview

This release is based on PostgreSQL 12.11 and Postgres Pro Standard 12.10.1. All improvements inherited from PostgreSQL 12.11 are listed in PostgreSQL 12.11 Release Notes. Other major changes and enhancements are as follows:

  • Ended support for Ubuntu 21.04 and added support for Ubuntu 22.04.

  • Ended support for OSnova 2.0.

  • Ended support for GosLinux 7.

  • Upgraded mamonsu to version 3.4.0. Notable changes are as follows:

    • Added a new timeout parameter to the [zabbix] section of the mamonsu configuration file. It allows you to set maximum time to wait while connecting to the Zabbix server.

    • Added a new mamonsu dashboard upload template_name command, which can be used to upload a Zabbix dashboard with the mamonsu metrics to a template on the Zabbix server version 6.0 or higher.

  • Upgraded PTRACK to version 2.3.0, optimizing PTRACK map loading, which previously in some cases could considerably slow down overall database loading. A substantial speed-up is observed for large-size maps.

  • Upgraded pgpro_stats to version 1.4, which provides the following new features and bugfixes:

    • Added pgpro_stats_vacuum_tables and pgpro_stats_vacuum_indexes views, which show statistics about vacuuming tables and indexes, respectively. Functions with the same names, which define these views for any specified database and table/index, are also added and can return statistics about vacuuming all tables/indexes in the specified database too.

    • Fixed a bug in extra shared memory allocation. The size of this memory was calculated with an error, which could cause memory corruption, incorrect computation of statistics or even a server crash.

    • Fixed an issue that caused a server crash when queries that only differ in constants contained in the query text were sent one after another through the extended query protocol.

  • Upgraded pgpro_pwr to version 3.9, which provides the following new features and bugfixes:

    • Added statistics on invalidation messages and on vacuuming tables and indexes to the report.

    • Optimized retention handling for obsolete dictionary entries in the pgpro_pwr historical repository.

    • Fixed the type of value in calculating the wait time while taking a sample. This prevents a yet unlikely integer overflow error.

E.15.2. Migration to Version 12.11.1

If you are upgrading from Postgres Pro Standard based on the same PostgreSQL major version, it is enough to install the new version into your current installation directory.

While functions numeric_eq, numeric_ne, numeric_gt, numeric_ge, numeric_lt, and numeric_le are actually leakproof, they were not marked as such in Postgres Pro Standard 12.1.1, which could lead to incorrect query optimization. In particular, it negatively affected query execution if row-level security policy was in use. Version 12.2.1 repairs this issue for new installations by correcting the initial catalog data, but existing installations will still have incorrect markings unless you update pg_proc entries for these functions. You can run pg_upgrade to upgrade your server instance to a version containing the corrected initial data, or manually correct these entries in each database of the installation using the ALTER FUNCTION command. For example:

ALTER FUNCTION pg_catalog.numeric_eq LEAKPROOF

When upgrading from Postgres Pro versions 12.6.1 or lower, rebuild indexes containing at least one included column of type for which the collation was defined in the table.

If you are upgrading from Postgres Pro versions 12.6.2 or lower and take PTRACK backups using pg_probackup, retake a full backup after upgrade.