Release 8.0.21

Release Date: 2009-03-16

This release contains a variety of fixes from 8.0.20. For information about new features in the 8.0 major release, see Section E.191 .

E.170.1. Migration to Version 8.0.21

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

E.170.2. Changes

  • Prevent error recursion crashes when encoding conversion fails (Tom)

    This change extends fixes made in the last two minor releases for related failure scenarios. The previous fixes were narrowly tailored for the original problem reports, but we have now recognized that any error thrown by an encoding conversion function could potentially lead to infinite recursion while trying to report the error. The solution therefore is to disable translation and encoding conversion and report the plain-ASCII form of any error message, if we find we have gotten into a recursive error reporting situation. (CVE-2009-0922)

  • Disallow CREATE CONVERSION with the wrong encodings for the specified conversion function (Heikki)

    This prevents one possible scenario for encoding conversion failure. The previous change is a backstop to guard against other kinds of failures in the same area.

  • Fix core dump when to_char() is given format codes that are inappropriate for the type of the data argument (Tom)

  • Add MUST (Mauritius Island Summer Time) to the default list of known timezone abbreviations (Xavier Bugaud)