postgresql-simple 0.3.7.0 → 0.3.7.1
raw patch · 3 files changed
+5/−4 lines, 3 filesdep ~bytestring
Dependency ranges changed: bytestring
Files
CONTRIBUTORS view
@@ -13,3 +13,4 @@ Alexey Uimanov <s9gf4ult@gmail.com> Doug Beardsley <mightybyte@gmail.com> Manuel Gómez <targen@gmail.com>+Michael Snoyman <michael@snoyman.com>
postgresql-simple.cabal view
@@ -1,5 +1,5 @@ Name: postgresql-simple-Version: 0.3.7.0+Version: 0.3.7.1 Synopsis: Mid-Level PostgreSQL client library Description: Mid-Level PostgreSQL client library, forked from mysql-simple.@@ -57,7 +57,7 @@ base < 5, blaze-builder, blaze-textual,- bytestring >= 0.10,+ bytestring >= 0.9, containers, postgresql-libpq >= 0.6.2, template-haskell,@@ -78,7 +78,7 @@ source-repository this type: git location: http://github.com/lpsmith/postgresql-simple- tag: v0.3.7.0+ tag: v0.3.7.1 test-suite test type: exitcode-stdio-1.0
src/Database/PostgreSQL/Simple/FromField.hs view
@@ -452,7 +452,7 @@ else case mbs of Nothing -> returnError UnexpectedNull f "" Just bs ->- case JSON.eitherDecode' $ LB.fromStrict bs of+ case JSON.eitherDecode' $ LB.fromChunks [bs] of Left err -> returnError ConversionFailed f err Right val -> pure val