E.16. Postgres Pro Standard 12.11.1
Release Date: 2022-05-25
E.16.1. Overview
This release is based onPostgreSQL 12.11 andPostgres Pro Standard 12.10.1. All improvements inherited fromPostgreSQL 12.11 are listed inPostgreSQL 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.
Upgradedmamonsu to version 3.4.0. Notable changes are as follows:
Added a new
timeout
parameter to the[zabbix]
section of themamonsu configuration file. It allows you to set maximum time to wait while connecting to theZabbix server.Added a new
mamonsu dashboard upload
command, which can be used to upload aZabbix dashboard with themamonsu metrics to a template on theZabbix server version 6.0 or higher.template_name
UpgradedPTRACK to version 2.3.0, optimizingPTRACK map loading, which previously in some cases could considerably slow down overall database loading. A substantial speed-up is observed for large-size maps.
Upgradedpgpro_stats to version 1.4, which provides the following new features and bugfixes:
Added
pgpro_stats_vacuum_tables
andpgpro_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.
Upgradedpgpro_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 thepgpro_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.16.2. Migration to Version 12.11.1
If you are upgrading fromPostgres Pro Standard based on the samePostgreSQL major version, it is enough to install the new version into your current installation directory.
While functionsnumeric_eq
,numeric_ne
,numeric_gt
,numeric_ge
,numeric_lt
, andnumeric_le
are actually leakproof, they were not marked as such inPostgres 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 updatepg_proc
entries for these functions. You can runpg_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 theALTER FUNCTION
command. For example:
ALTER FUNCTION pg_catalog.numeric_eq LEAKPROOF
When upgrading fromPostgres 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 fromPostgres Pro versions 12.6.2 or lower and takePTRACK backups usingpg_probackup, retake a full backup after upgrade.