packages feed

selda-postgresql 0.1.3.0 → 0.1.4.0

raw patch · 2 files changed

+3/−2 lines, 2 filesdep ~seldaPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: selda

API changes (from Hackage documentation)

Files

selda-postgresql.cabal view
@@ -1,5 +1,5 @@ name:                selda-postgresql-version:             0.1.3.0+version:             0.1.4.0 synopsis:            PostgreSQL backend for the Selda database EDSL. description:         PostgreSQL backend for the Selda database EDSL.                      Requires the PostgreSQL @libpq@ development libraries to be@@ -30,7 +30,7 @@   build-depends:       base             >=4.8     && <5     , exceptions       >=0.8     && <0.9-    , selda            >=0.1.5.0 && <0.2+    , selda            >=0.1.7.0 && <0.2     , text             >=1.0     && <1.3   if !flag(haste)     build-depends:
src/Database/Selda/PostgreSQL/Encoding.hs view
@@ -34,6 +34,7 @@ fromSqlValue (LDate s)     = Just (dateType, encodeUtf8 s, Text) fromSqlValue (LNull)       = Nothing fromSqlValue (LJust x)     = fromSqlValue x+fromSqlValue (LCustom l)   = fromSqlValue l  -- | Convert the given postgres return value and type to an @SqlValue@. toSqlValue :: Oid -> BS.ByteString -> SqlValue