E.18. Postgres Pro Enterprise 12.11.1
Release date: 2022-06-10
E.18.1. Overview
This release is based on PostgreSQL 12.11 and Postgres Pro Enterprise 12.10.2. All changes inherited from PostgreSQL 12.11 are listed in PostgreSQL 12.11 Release Notes. As compared with Postgres Pro Enterprise 12.10.2, this version also provides the following changes:
Fixed "PANIC: WAL contains references to invalid pages" failure on a replica when the number of transactions exceeded 2^31 and
full_page_writes
was off.Fixed an issue that could occur when attempting to read a parameter being NULL (including reads when calling
set_config(
).setting_name
,null
,is_local
)Changed the algorithm of composite type name generation. This fixes an issue in the code of vanilla PostgreSQL, which strictly limits the number of tables with the same long prefix in names.
Added support for Ubuntu 22.04.
Ended support for OSnova 2.0.
Made the pg_freespacemap
pg_freespace
function display the correct amount of free space on pages for tables in CFS tablespaces. The function is now implemented in C instead of SQL used before.Upgraded pg_probackup to version 2.5.6, which provides the following new features and bugfixes as compared to version 2.5.5:
Added the
--dry-run
flag to thecatchup
command to allow you to estimate the size of data files to be transferred, but make no changes on disk.Changed the level of detail of logging some
catchup
messages for user convenience of log reading.Fixed a bug that prevented correct rereading of a block after a message “File: ... blknum ... have wrong checksum, try again” was issued.
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
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.
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.
Renamed the vops-specific
unnest()
function with conflicting definition tovops_unnest()
.
E.18.2. Migration to Version 12.11.1
If you are upgrading from a Postgres Pro Enterprise release based on the same PostgreSQL major version, it is enough to install the new version into your current installation directory.
If you have previously migrated to Postgres Pro Enterprise 12.7.1 or lower, you must run the REINDEX
command to rebuild GIN indexes.
If you have previously migrated from Postgres Pro Enterprise versions 11 or 10, you must run the REINDEX
command to rebuild B-tree indexes, except for unique, covering and system indexes. If you are migrating from these versions now, rebuilding such indexes is also recommended.
If you are upgrading from Postgres Pro Enterprise versions 12.6.x or lower and take PTRACK backups using pg_probackup, retake a full backup after upgrade.
To migrate from PostgreSQL, as well as Postgres Pro Standard or Postgres Pro Enterprise based on a previous PostgreSQL major version, see the migration instructions for version 12.