E.1. Postgres Pro Standard 16.16.1 #
Date: 2026-11-26
E.1.1. Overview #
This release is based on PostgreSQL 16.16 and Postgres Pro Standard 16.15.2. All improvements inherited from PostgreSQL 16.16 are listed in PostgreSQL 16.16 Release Notes. Other major changes and enhancements are as follows.
E.1.2. Core Engine and Performance #
E.1.2.1. Query Optimizer #
Upgraded pg_hint_plan to version 1.6.3.
E.1.2.2. Server Internals #
Updated pg_pathman to fix an issue with the enabled
pg_pathman.enable_partitionrouterparameter that could cause a segmentation fault when executing theUPDATEcommand on a table partitioned using pg_pathman if the tuple being moved to another partition was concurrently modified by another transaction. Now concurrent updates that move tuples between partitions are processed correctly.
E.1.3. Replication and High Availability #
Fixed a race condition when restoring WAL segments from the archive. The segment was first deleted and then replaced with the new one, so a concurrent WAL sender could see it as missing, which could result in replication disruption and backup failure. Such segments are now replaced atomically.
Upgraded wal2json to version 2.7.
E.1.4. Security and Access Control #
Updated pg_proaudit to add the ability to log only
SET ROLEandRESET ROLEcommands by specifying theROLEobject type for theSETandRESETevents inpg_proaudit_set_rule(). This allows tracking role changes without filling the security event log with entries about changes of other configuration parameters.Upgraded pgpro_anonymizer to version 1.3.3.
Upgraded the ldap2pg utility to version 6.6.0.3.
E.1.5. Administration, Monitoring, Backup, and Upgrade #
Updated pg_upgrade to add a check that allows preventing the “constraint ... for relation ... already exists” error during schema restore if a partition had a
NOT VALIDforeign key with the same name as a foreign key on the parent partitioned table. Now such constraints are detected before the upgrade. pg_upgrade lists these constraints in theduplicate_fk_names.txtfile and displays instructions on how to drop or rename them.Updated pgpro_tune to decrease the values of the join_collapse_limit and from_collapse_limit configuration parameters from
20to14in the1c.tunepreset to reduce query planning time for 1C workloads.Upgraded pgpro_stats to version 1.11.2 to provide the following bug fixes:
Fixed an issue in pgpro_stats related to normalization of queries that involve system views.
Fixed a memory leak that could occur while processing the file with query texts.
Fixed an issue where statistics dump files created by previous versions of pgpro_stats could be read incorrectly due to different format, which resulted in incorrect statistics values. Now such files are ignored, and statistics are collected from scratch. Note that statistics collected by previous versions are discarded during the first server restart after the upgrade.
Upgraded pg_wait_sampling to version 1.1.2, which provides the following enhancements:
Improved performance of queries to the
pg_wait_sampling_statementsandpg_wait_sampling_totalsviews. Thepg_wait_sampling_totalsview is the new name forpg_wait_sampling_objects, and theeventscolumn in both views is also renamed towait_stats.Fixed an issue that could cause hanging of the collector process, as well as of subsequent queries to the
pg_wait_sampling_profileandpg_wait_sampling_historyviews and calls to thepg_wait_sampling_reset_profile()function. This happened if an earlier query or call returned an error because the collector was unavailable. Now such queries and calls return an error only when the collector is unavailable and no longer affect the restarted collector.
Updated pgpro_bindump to provide the following bug fixes:
Fixed an issue that could cause walsender processes to keep running after the backup was interrupted, which led to excessive utilization of disk resources.
Fixed backup failures of clusters that use tablespaces. Now not only temporary tables but also temporary tablespaces (temp_tablespaces) are excluded from backups.
Upgraded pg_probackup to version 2.8.16 to provide the following improvements and bug fixes:
Added timestamps to the
archive-pushandarchive-getlog output on a local host to simplify diagnostics.Fixed
backupandcatchupoperation failures that occurred if WAL streaming did not complete within checkpoint_timeout plus 10%. Now this timeout applies only to the period without any progress, so slow but ongoing WAL streaming no longer aborts the operation. For details, refer to the section STREAM Mode.Fixed an issue with
STREAMbackup from a standby. When determining the recovery time, if the search for the next WAL record started at the end of the available WAL, including after a record padded to the 1 MB boundary, the search could terminate incorrectly and the backup would fail.
Fixed an issue with the
wait_eventandwait_event_typecolumn values displayed incorrectly in thepg_stat_activityview. Previously, the values received by the first query were cached and were not updated within a transaction, so the columns could show values that no longer reflected the current wait event information. Now such information is updated on every query, so you can accurately monitor lock and I/O waits in case of repeated queries topg_stat_activityin the same transaction.Upgraded pgpro_validate to version 1.2.2.
Upgraded pgpro_pwr to version 4.16.
Upgraded pgbouncer to version 1.26.1.
Upgraded the pgbouncer_exporter utility to version 0.12.1.3.
Upgraded mamonsu to version 3.5.18.
Upgraded the pgpro_scout utility to version 1.0.6.
E.1.6. Compatibility, Application Development, and Integrations #
Updated auto_dump to provide the following enhancements and bug fixes:
Changed the behavior of the
auto_dump.dump_planparameter: now, when it is enabled, only actual row counts are collected for each plan node. This reduces the performance overhead when dumping execution plans: previously, per-node timing information, buffer usage, and WAL usage were collected as well, which could slow down query execution by up to four times.Added the
auto_dump.dump_buffers,auto_dump.dump_timing, andauto_dump.dump_walparameters, which control collection of this additional information in the dumped execution plans. This also allows reducing the performance overhead of plan collection by disabling statistics that are not needed.Changed the type of the
auto_dump.dump_persistent_tablesparameter frombooleantoenumwith theoff,ddl, andfullvalues. With theddlvalue, only the creation commands of persistent tables are written to the dump, without their data. This allows creating compact dumps to reproduce problematic queries without copying large amounts of persistent table data. This may be useful for 1C.Changed the type of the
auto_dump.dump_all_temp_tablesparameter frombooleantoenumand added theddlandfullvalues. Now a dump can contain the full data of all session temporary tables, including those not referenced by the dumped query, or only their creation commands, depending on the chosen value. Previously, data of such tables was not saved. This allows reproducing problematic queries exactly as they ran in the original session, without access to that session. This may be useful for 1C.Fixed an issue that could cause a backend crash when saving a dump failed.
Fixed an issue that caused boolean values to be written to the dump file as
tandfinstead oftrueandfalseforINSERTstatements. Executing such a dump file failed with an error, so the problematic query could not be reproduced. Now these values are written correctly.Fixed an issue that caused a server crash when saving table data to a TXT file. That happened when a dump was triggered by
auto_dump.dump_on_timewithauto_dump.dump_dataandauto_dump.dump_copy_dataenabled. Now dumps of long-running queries are saved successfully together with table data in this mode.
Updated online_analyze to provide the following enhancements and bug fixes:
Changed the default values of the following parameters:
online_analyze.enableis nowoffandonline_analyze.table_typeis nowtemporary. Now the module is disabled after loading and, once enabled, updates statistics only for temporary tables, while previously it analyzed all tables, including persistent ones. As before, the module can be enabled and configured, if needed. With the new defaults, no additional configuration is usually needed: statistics on persistent tables are collected by autovacuum, as usual. This module was historically used with 1C, where it is no longer needed since 1C:Enterprise version 8.3.13.Fixed a segmentation fault that could occur while executing the
SELECTquery that calls a function dropped from the database.
Upgraded the hypopg extension to version 1.4.5.
Upgraded the ODBC driver to version 18.00.0006.
Upgraded oracle_fdw to version 2.9.0.
Upgraded orafce to version 4.17.1.
Upgraded the PLV8 extension to version 3.2.5.
E.1.7. Migration to Version 16.16.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.
If you used a previous version of aqo and need to upgrade it, after the upgrade of the primary server, the standby servers may have a different aqo version.
To avoid any related issues, disable aqo by setting aqo.enable and aqo.wal_rw to off first on the primary server and then on the standby servers. After the upgrade completes successfully, re-enable aqo by setting aqo.wal_rw and aqo.enable to on first on the standby servers and then on the primary server.
Important
This release changes the ABI. If you see the ABI mismatch error when trying to run your extension, make sure to install a new version of the extension supplied with a new release of Postgres Pro or recompile your third-party extension to be able to use it with the current version of Postgres Pro.
TimescaleDB and PostGIS builds released for previous versions of Postgres Pro are incompatible with this release. After the upgrade, these extensions will not work until their compatible versions are released. If you use any of these extensions, take this into account when planning the upgrade.
If you take backups using pg_probackup and you have previously upgraded it to version 2.8.0 or 2.8.1, make sure to upgrade it to version 2.8.2 or higher and retake a full backup after upgrade, since backups taken using those versions might be corrupted. If you suspect that your backups taken with versions 2.8.0 or 2.8.1 may be corrupted, you can validate them using version 2.8.2.
To migrate from PostgreSQL or a Postgres Pro Standard release based on a previous PostgreSQL major version, see the instructions in Postgres Pro Standard 16.0.1 Release Notes.