IdentifiantMot de passe
Mot de passe oublié ?Je m'inscris ! (gratuit)

E.146. Release 7.4.26


Release date


This release contains a variety of fixes from 7.4.25. For information about new features in the 7.4 major release, see Section E.172, « Sortie 7.4 ».

E.146.1. Migration to Version 7.4.26

A dump/restore is not required for those running 7.4.X. However, if you have any hash indexes on interval columns, you must REINDEX them after updating to 7.4.26. Also, if you are upgrading from a version earlier than 7.4.11, see the release notes for 7.4.11.

E.146.2. Changes

  • Disallow RESET ROLE and RESET SESSION AUTHORIZATION inside security-definer functions (Tom, Heikki)

    This covers a case that was missed in the previous patch that disallowed SET ROLE and SET SESSION AUTHORIZATION inside security-definer functions. (See CVE-2007-6600)

  • Fix handling of sub-SELECTs appearing in the arguments of an outer-level aggregate function (Tom)

  • Fix hash calculation for data type interval (Tom)

    This corrects wrong results for hash joins on interval values. It also changes the contents of hash indexes on interval columns. If you have any such indexes, you must REINDEX them after updating.

  • Fix overflow for INTERVAL 'x ms' when x is more than 2 million and integer datetimes are in use (Alex Hunsaker)

  • Fix calculation of distance between a point and a line segment (Tom)

    This led to incorrect results from a number of geometric operators.

  • Fix money data type to work in locales where currency amounts have no fractional digits, e.g. Japan (Itagaki Takahiro)

  • Properly round datetime input like 00:12:57.9999999999999999999999999999 (Tom)

  • Fix poor choice of page split point in GiST R-tree operator classes (Teodor)

  • Fix portability issues in plperl initialization (Andrew Dunstan)

  • Improve robustness of libpq's code to recover from errors during COPY FROM STDIN (Tom)

  • Avoid including conflicting readline and editline header files when both libraries are installed (Zdenek Kotala)