## E.295. Release 7.4.22

Release date: 2008-09-22

This release contains a variety of fixes from 7.4.21. For information about new features in the 7.4 major release, see Section E.317.

### E.295.1. Migration to Version 7.4.22

A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.11, see Section E.306.

### E.295.2. Changes

- Fix datetime input functions to correctly detect integer overflow when running on a 64-bit platform (Tom)

- Improve performance of writing very long log messages to syslog (Tom)

- Fix bug in backwards scanning of a cursor on a `SELECT DISTINCT ON` query (Tom)

- Fix planner to estimate that `GROUP BY` expressions yielding boolean results always result in two groups, regardless of the expressions' contents (Tom)

  This is very substantially more accurate than the regular `GROUP BY` estimate for certain boolean tests like `col` `IS NULL`.

- Improve pg_dump and pg_restore's error reporting after failure to send a SQL command (Tom)