E.14. Postgres Pro Enterprise 13.10.1

Release Date: 2023-03-06

E.14.1. Overview

This release is based on PostgreSQL 13.10 and Postgres Pro Enterprise 13.9.1. All changes inherited from PostgreSQL 13.10 are listed in PostgreSQL 13.10 Release Notes. As compared with Postgres Pro Enterprise 13.9.1, this version also provides the following changes:

  • Added enable_large_mem_buffers that allows to copy and dump large bytea and text values. This parameter can be defined only for the current session. --enable-large-mem-buffers option for pg_dump and pg_dumpall was also added. pg_restore can restore such values by default now.

  • Improved performance impacted by numerous cache resets by reducing the number of invalidation messages regarding temporary tables sent from backends to each other.

  • Fixed a segmentation fault, which might have occurred in PL/pgSQL when trying to remove a separate field of a composite type upon completion of an autonomous transaction.

  • Added support for ROSA COBALT Server 7.9 and ended support for ROSA COBALT Server 7.3.

  • Fixed suboptimal memory usage in optimizing a query that included a pretty large number of UNION ALL subqueries. This planner issue was due to a vanilla PostgreSQL issue with replacing placeholder variables in a special case of flattening UNION ALL leaf queries.

  • Upgraded aqo to version 1.6, which provides the following new features:

    • Introduced smart statement timeout, which is needed to limit the execution time when manually training aqo on special queries with a poor cardinality forecast and which aqo can dynamically change during this training.

    • Added aqo_query_stat_update, aqo_data_update and aqo_query_texts_update functions to update or insert a record in data files underlying the respective view.

    • Added aqo_memory_usage function to display the memory size required for aqo.

    • Renamed aqo_enable_query and aqo_disable_query functions to aqo_enable_class and aqo_disable_class, respectively.

  • Fixed an issue with autovacuum not running on unused masters in multimaster. Now logical replication correctly updates information in pg_stat.

  • Upgraded pg_probackup to version 2.6.1 Enterprise, which provides the following features:

    • Optimized pg_probackup input/output engine to improve performance.

    • Added Simple Storage Service (S3) support for storing data in private clouds. S3 interface was tested with MinIO object storage and VK Cloud storage. Note that pg_probackup provides complete processing of S3 interface logging.

    • Added CFS (Compressed File System) support for incremental backups in DELTA, PAGE, and PTRACK modes. PTRACK mode requires PTRACK 2.4.0 or higher and is recommended as the fastest mode for incremental backups.

    • Added support for lz4 and zstd compression algorithm.

    • Ended support for Postgres Pro 9.6.

  • Upgraded PTRACK to version 2.4.1.

  • Upgraded pgbouncer to version 1.18.

  • Upgraded pgpro_scheduler to version 2.9, which provides the following changes:

    • Fixed the schedule.resubmit function to save the state of the executed job correctly. Also, this function can now accept 0 as the time interval, in this case the job is resubmmitted immediately after execution.

    • Fixed an issue with the schedule.timetable function, which previously caused an error when the function was called by any superuser other than postgres.

  • Updraded pgpro_stats to version 1.5, which provides new features and bugfixes:

    • Added computation of statistics on removal of all-frozen and all-visible marks in the visibility map.

    • Added the pgpro_stats_vacuum_database view, showing statistics about vacuuming each database in a cluster.

    • Fixed possible crash of a server where pgpro_stats.track was set to all that could occur when pgpro_stats processed a function body as a multistatement query.

    • Fixed inappropriate issuing of an unrecognized expression node type: ... warning in case a query plan contained a GatherMerge node.

    • Fixed too long execution of a query containing texts of JSON or XML documents of a special kind. The slowdown was possible because normalization of the query plan text could mistakenly include replacement of constants inside those documents.

  • Upgraded pgpro_pwr to version 4.1.2.

  • Upgraded the PLV8 extension to version 3.1.5.

E.14.2. Migration to Version 13.10.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 are migrating to the current major version of Postgres Pro Enterprise using pg_upgrade, and you want to keep the existing visibility map representation in pageinspect, you should run the VACUUM command before the upgrade.

If you have previously migrated to Postgres Pro Enterprise 13.3.1 or lower, you must run the REINDEX command to rebuild GIN indexes.

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

If you have an installation of Postgres Pro Enterprise 13.2.1 that contains compressed tablespaces created without explicitly specifying the pglz algorithm, perform an upgrade as follows. Before upgrading, make a complete dump using pg_dumpall. Upgrade Postgres Pro Enterprise, re-create your database cluster, and restore the dump. Then you can create compressed tablespaces in the same way as before.

If you have already upgraded your installation with CFS tablespaces from Postgres Pro Enterprise 13.2.1, and you cannot access the compressed data, call the support team.

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 13.