postgresql-simple v0.5.3.0 Release Notes
Release Date: 2017-05-15 // over 8 years ago-
Refactored some rudimentary cursor handling code out of the implementation of the fold operators, into a new
Database.PostgreSQL.Simple.Cursormodule, thanks to Bardur Arantsson.Made the
FromFieldinstance forCharcompatible with postgresql'sbpchartype. Thanks to Ivan Lazar Miljenovic for reporting the issue.Added
ShowandEqinstances forNotification, thanks to Matvey Aksenov.Fixed some example code, thanks to Matvey Aksenov.
Fixed a problem with using
conversionErrorto throw exceptions of typeSomeException. Previously, the exception would be wrapped in a secondSomeExceptiondynamic constructor which would cause normal GHC typecase idioms overSomeExceptionto fail.
Previous changes from v0.5.2.1
-
Bumped the lower bound for
baseto 4.6. Thanks to Herbert Valerio Riedel for reporting the issue.Added an
Eqinstance forSqlError, thanks to Chris AllenFixed 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
withTransactionand friends to ignoreIOErrors when attempting to roll back the transaction. This fixes a buggy interaction betweenwithTransactionand 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
testTimeoutregression test for the problem above.