## Appendix E. Release Notes

The release notes contain the significant changes in each Postgres Pro release, with major features and migration issues listed at the top. The release notes do not contain changes that affect only a few users or changes that are internal and therefore not user-visible. For example, the optimizer is improved in almost every release, but the improvements are usually observed by users as simply faster queries.

A complete list of changes for each release can be obtained by viewing the Git logs for each release. The `pgsql-committers` email list records all source code changes as well. There is also a web interface that shows changes to specific files.

The name appearing next to each item represents the major developer for that item. Of course all changes involve community discussion and patch review, so each item is truly a community effort.

## E.1. Postgres Pro 9.5.10.1

Release date: 2017-11-14

### E.1.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, “pg_pathman” and Section F.30.4, “How to update”.) As compared to version 1.4.3, the following enhancements were introduced:

  - Improved cache invalidation mechanisms.

  - Disabled `COPY `partitioned_table` TO` command. Use `COPY (SELECT * FROM `partitioned_table`) TO` instead.

  - Fixed `INSTEAD OF` triggers on views selected from partitioned tables.

  - `ALTER TABLE `partitioned_table` RENAME TO` now also renames auto naming sequences.

  - Disabled some dangerous optimizations for `SELECT ... FOR SHARE/UPDATE` on PostgreSQL 9.5.

  - Improved error handling in concurrent partitioning background worker.

  - Prohibited execution of queries `DELETE FROM `partitioned_table_1` USING `partitioned_table_2`...` and `UPDATE `partitioned_table_1` FROM `partitioned_table_2`...` if such queries touch more than one partition of `partitioned_table_1`.

  - Fixed a bug causing crashes on `RESET ALL`.

  - Fixed `WHERE` conditions that point to gaps between partitions.

  - Restored compatibility with pg_repack.

  - For the full list of changes, see pg_pathman Wiki.

### E.1.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_upgrade` is 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_upgrade` script 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.