E.10. Postgres Pro Standard 16.0.1#
Release Date: 2023-10-19
E.10.1. Overview#
This release is based onPostgreSQL 16 and includes all the new features introduced in PostgreSQL 16. For their detailed description, seePostgreSQL 16 Release Notes. Other major changes and enhancements are as follows:
Addedsystem views
pg_stats_vacuum_tables
,pg_stats_vacuum_indexes
andpg_stats_vacuum_database
, which show statistics about vacuuming tables, indexes and databases, respectively. These statistics were previously available throughpgpro_stats.Added new configuration parameterspgpro_build,pgpro_edition, andpgpro_version, which report thePostgres Pro source code commit ID, edition, and server version respectively.
Addedpredefined roles:
pg_create_tablespace
, which allows executing theCREATE TABLESPACE
command without superuser rights.pg_manage_profiles
, which allows executing theCREATE PROFILE
,ALTER PROFILE
, andDROP PROFILE
commands without superuser rights.
Upgradedaqo to version 2.0, which provides the following major changes and enhancements:
The configuration is streamlined. Nowaqo behavior mainly depends on three configuration parameters:
aqo.enable
,aqo.mode
andaqo.advanced
, which respectively defineaqo state, operation mode and whether statistics is isolated per query.The default values of configuration parameters set the recommended basic mode, where statistics is collected for plan nodes, and the collected machine learning data is used to correct the cardinality estimation error for all queries whose plan might contain a certain plan node.
aqo can now work with multiple databases independently.
Executing the
DROP/CREATE EXTENSION
command is now sufficient to instantly disable/enableaqo at the database level.Memory consumption is reduced.
Upgradedoracle_fdw to version 2.6.0.
Upgradedorafce to version 4.6.1.
Upgradedpg_integrity_check, which now provides three new options.
Upgradedpg_proaudit to version 1.2, which provides the following changes:
Changed the name of the
CONNECT
events recorded bypg_proaudit
toAUTHENTICATE
.Removed the
pg_proaudit.syslog_facility
andpg_proaudit.syslog_ident
configuration parameters. Instead, thesyslog_ident andsyslog_facility parameters can be used.Records in thesyslog are now marked with
AUDIT
for clear identification.Added the
db_name
argument for functions that add and delete the logging settings. This argument allows specifying the name of the database for which security events need to be logged. Also, therole_oid
argument can now be passed withNULL
to enable logging actions for all users.
Upgradedpg_probackup to version 2.6.6, which in particular improved stability of the
catchup
command.Upgradedpgpro_pwr to version 4.3, which introduced a role model and added a few report tables.
Upgradedtds_fdw to version 2.0.3.
For the list of extension modules and utilities specific toPostgres Pro Standard, as well as the main user-visible core changes as compared to vanillaPostgreSQL, seeSection 2.
E.10.2. Migration to Version 16#
You can migrate toPostgres Pro Standard 16 from the same or a previous version ofPostgreSQL (that is supported by the upgrade method chosen) and from a previous version ofPostgres Pro Standard orPostgres Pro Standard Certified. The same holds for migration toPostgres Pro Standard Certified 16. SeeSection 17.6 for the methods to upgrade your database cluster. Consult the Postgres Pro Standard support team if you experience issues during migration. Backward migration is not supported. Note that migration fromPostgres Pro Standard toPostgres Pro Standard Certified of the same major version (or vice versa) is an update betweenPostgres Pro compatible versions (seeSection 17.6 for more details).
To migrate fromPostgreSQL or aPostgres Pro Standard release based on a previousPostgreSQL major version, make sure to install its latest available minor version and then perform a dump/restore usingpg_dumpall or use thepg_upgrade utility.
If you choose to runpg_upgrade, make sure to initialize the new database cluster with compatible parameters. In particular, pay attention to thechecksum settings in the cluster you are migrating from. Ifpg_upgrade creates any SQL files in its current directory, run these files to complete the upgrade.
When upgrading the installation from version 10 or lower, a dump/restore is recommended. In this case, you may have to resolve constraint violations manually. If this option is infeasible, you can still usepg_upgrade, but consult the Postgres Pro Standard support team since the integrity of indexes and constraints might be violated in some cases.
Note
To avoid conflicts, do not use thepostgrespro-std-16
package to install the newPostgres Pro binaries. Use the individual packages instead. In this case, server autostart needs to be enabled manually, if required. For details on the available packages, seeChapter 16.
For upgrade requirements imposed by vanillaPostgreSQL, seeSection E.20.