postgresql-simple v0.5.3.0 Release NotesRelease Date: 2017-05-15 // about 5 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.
Charcompatible with postgresql's
bpchartype. Thanks to Ivan Lazar Miljenovic for reporting the issue.
Notification, thanks to Matvey Aksenov.
Fixed some example code, thanks to Matvey Aksenov.
Fixed a problem with using
conversionErrorto throw exceptions of type
SomeException. Previously, the exception would be wrapped in a second
SomeExceptiondynamic constructor which would cause normal GHC typecase idioms over
Previous changes from v0.5.2.1
Bumped the lower bound for
baseto 4.6. Thanks to Herbert Valerio Riedel for reporting the issue.
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.
withTransactionand friends to ignore
IOErrors when attempting to roll back the transaction. This fixes a buggy interaction between
withTransactionand 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.
testTimeoutregression test for the problem above.