E.13. Postgres Pro Standard 14.8.1
Release Date: 2023-05-23
E.13.1. Overview
This release is based onPostgreSQL 14.8 andPostgres Pro Standard 14.7.1. All improvements inherited fromPostgreSQL 14.8 are listed inPostgreSQL 14.8 Release Notes. Other major changes and enhancements are as follows:
Added theunicode_nul_character_replacement_in_jsonb configuration parameter to replace
'\u0000'
with the specified unicode character when calling a function processing JSONB.Added an operation log, which stores information about system events such as an upgrade, execution ofpg_resetwal and so on, which is highly useful for vendor's technical support. Recording to the operation log is only done at the system level, and SQL functions are used to read it. (SeeSection 9.27.11.)
Ended support for Ubuntu 18.04/22.10 and added support for Ubuntu 23.04.
Added support for ROSA Chrome 2021.2.
Fixed an internal error that occurred during a self join removal. Previously, it was not taken into account that when an expression“A.x=B.x” was transformed to“A.x IS NOT NULL”, it was necessary to correct meta parameters of the transformed expression because of its different semantics. In particular, the initial expression can be used in cases such as selection of an attribute to sort by or being a
JOIN
parametrization expression, but this is inapplicable for the transformed expression.Upgradedmamonsu to version 3.5.3, which provides new features and bugfixes. Notable changes are as follows:
Removed the limitation that did not allow a user different from
mamonsu
to read and edit the configuration fileagent.conf
. Specifically, thepg_probackup plugin now works correctly when themamonsu
user owns thepg_probackup backup directory.ForPostgres Pro 14 and higher, added
pg_stat_wal
metrics toZabbix configuration file being exported by the commandmamonsu export zabbix-parameters...
.Removed metrics that conflict nativeZabbix agents fromZabbix configuration file being exported.
Fixedmamonsu choice of the default extension to collect statistics. Now whenpgpro_stats andpg_stat_statements are both installed,pgpro_stats is correctly treated as the default one.
Added a check that the server wheremamonsuWAL plugin runs is not in recovery.
Upgradedpg_probackup to version 2.6.3, which provides optimizations and bug fixes. Lower versions are incompatible withPostgres Pro 14.8.1. Notable changes are as follows:
Included the
catchup
command, which was previously provided only in a test mode, in the production delivery.Added optimizations for incremental backups that reduce disk read amount almost twice.
Improved error and warning messaging and unified the error message style.
Fixed usability issues with the
show
command, in particular: fixed displaying the recovery time, which could sometimes not be displayed after a successful backup; made the backup time be displayed in a table view even if the backup ended with an error.Fixed an error in specifying the relative path after restoring a cluster from a backup.
Corrected an improper assignment of backup IDs that took place in some cases.
Added an option to skip creation of a new backup instance or initialization of an existing one.
Fixed an issue with inclusion of the whole data in an incremental backup rather than only the changed data.
Upgradedpgpro_stats to version 1.6, which provides new features and bugfixes:
Implemented tracing of application sessions, based on filters, which trigger logging the execution of queries that match filtering conditions. You can usepgpro_stats functions to create, update or delete query filters. (SeeSection G.2.8.1 for details.)
Added functions for superuser to create views that emulatepg_stat_statements andpg_stat_kcache extensions. Specifically,
pg_stat_statements
,pg_stat_statements_info
,pg_stat_kcache
andpg_stat_kcache_detail
views can be created. Once they are created, you can work with them as if the appropriate extension is installed. (SeeSection G.2.6.1 for details.)Added
pgpro_stats_archiver
view, which extends thepg_stat_archiver view by adding two fields, showing overall time that the archiver process was active and overall execution time of the archive command.Implemented backward compatibility of the vacuum statistics interface. Now a newer version of thepgpro_stats shared library can be safely used with old declarations of SQL functions. Previously such cases caused a server crash.
Fixed possible server crashes that could occur due to
PGDATA
overflow when inpgpro_stats, one or several long queries were executed. Now instead of storing query texts in a temporary file located in the
directory, it is possible to choose the directory with the external file to store query texts by setting the value of thePGDATA
/pg_stat_tmppgpro_stats.stats_temp_directory
configuration parameter. If you wish, you can set this value equal to the value of the system configuration parameterstats_temp_directory
. But keep in mind thatpgpro_stats.stats_temp_directory
can only be set at the server start.
Upgradedpgpro_pwr to version 4.1.3, which supportspgpro_stats 1.6 and provides the following new features:
Added report tables“Top tables by removed all-visible/all-frozed marks”.
Added a few new fields to the“Cluster Statistics” report table.
UpgradedPTRACK to version 2.4.3.
Upgradedorafce to version 4.2.6.
E.13.2. Migration to Version 14.8.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.
When upgrading toPostgres Pro versions starting with 14.8.1, make sure to upgradepg_probackup to version 2.6.3 or higher since lower versions are incompatible with thesePostgres Pro versions.
To migrate fromPostgreSQL or aPostgres Pro Standard release based on a previousPostgreSQL major version, see the instructions inPostgres Pro Standard 14.1.1 Release Notes.