E.12. Postgres Pro 9.5.10.1
Release date: 2017-11-14
E.12.1. Overview
This release is based on PostgreSQL 9.5.10 and Postgres Pro 9.5.9.1. All improvements inherited from PostgreSQL 9.5.10 are listed in PostgreSQL 9.5.10 Release Notes.
Major enhancements over Postgres Pro 9.5.9.1 include:
Updated pg_pathman module to version 1.4.8. (See Section F.30 and Section F.30.1.1.) As compared to version 1.4.3, the following enhancements were introduced:
Improved cache invalidation mechanisms.
Disabled
COPYcommand. Usepartitioned_tableTOCOPY (SELECT * FROMinstead.partitioned_table) TOFixed
INSTEAD OFtriggers on views selected from partitioned tables.ALTER TABLEnow also renames auto naming sequences.partitioned_tableRENAME TODisabled some dangerous optimizations for
SELECT ... FOR SHARE/UPDATEon PostgreSQL 9.5.Improved error handling in concurrent partitioning background worker.
Prohibited execution of queries
DELETE FROMandpartitioned_table_1USINGpartitioned_table_2...UPDATEif such queries touch more than one partition ofpartitioned_table_1FROMpartitioned_table_2...partitioned_table_1.Fixed a bug causing crashes on
RESET ALL.Fixed
WHEREconditions that point to gaps between partitions.Restored compatibility with pg_repack.
For the full list of changes, see pg_pathman Wiki.
E.12.2. Migration to Version 9.5.10.1
Depending on your current installation, the upgrade procedure will differ.
If you are running Postgres Pro 9.5.9.1, it is enough to install the 9.5.10.1 version into the same directory. For earlier Postgres Pro versions, pgpro_upgrade script is required to complete the upgrade:
If you are upgrading your installation from a binary package, and your database is in the default location,
pgpro_upgradeis run automatically, unless you are prompted to run it manually.If you compiled Postgres Pro from source code or created your database in a non-default location, you must run
pgpro_upgradescript manually.
Important
Before launching pgpro_upgrade manually, you must stop the postgres service. The script must be run on behalf of the user owning the database (typically postgres). Running pgpro_upgrade as root will result in an error. For details, see pgpro_upgrade.
To migrate to this version from vanilla PostgreSQL, perform a dump/restore using pg_dumpall.