pg v0.5.2.1 Release Notes

Release Date: 2016-06-29 // almost 8 years ago
    • Bumped the lower bound for base to 4.6. Thanks to Herbert Valerio Riedel for reporting the issue.

    • Added an Eq instance for SqlError, thanks to Chris Allen

    • Fixed a bug where a all-caps "NULL" text value inside a postgresql array would get parsed as the SQL null value. Thanks goes to Edgar Gomes and Silk for finding and fixing this mistake.

    • Modified withTransaction and friends to ignore IOErrors when attempting to roll back the transaction. This fixes a buggy interaction between withTransaction and async exceptions (e.g. System.Timeout) on unix platforms. Thanks goes to Erik Hesselink and Silk for providing the test case that exposed this issue.

    • Added the testTimeout regression test for the problem above.


Previous changes from v0.5.2.0

    • Significantly improved the error reporting from Copy.putCopyData, thanks to Ben Gamari.

    • Moved the test suite to use tasty, with a big thanks to Ben Gamari.

    • Added FromField.optionalField, and updated the documentation of FromField.fromJSONField, as inspired by an email conversation with Ian Wagner.

    • Updated all links in the haddocks to use https, and added a link to the documentation of connectPostgreSQL.

    • Added a truncated changelog to the source distribution.