postgresql-simple v0.5.3.0 Release Notes
Release Date: 2017-05-15 // almost 7 years ago-
Refactored some rudimentary cursor handling code out of the implementation of the fold operators, into a new
Database.PostgreSQL.Simple.Cursor
module, thanks to Bardur Arantsson.Made the
FromField
instance forChar
compatible with postgresql'sbpchar
type. Thanks to Ivan Lazar Miljenovic for reporting the issue.Added
Show
andEq
instances forNotification
, thanks to Matvey Aksenov.Fixed some example code, thanks to Matvey Aksenov.
Fixed a problem with using
conversionError
to throw exceptions of typeSomeException
. Previously, the exception would be wrapped in a secondSomeException
dynamic constructor which would cause normal GHC typecase idioms overSomeException
to fail.
Previous changes from v0.5.2.1
-
Bumped the lower bound for
base
to 4.6. Thanks to Herbert Valerio Riedel for reporting the issue.Added an
Eq
instance 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
withTransaction
and friends to ignoreIOError
s when attempting to roll back the transaction. This fixes a buggy interaction betweenwithTransaction
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.