packages feed

selda-postgresql 0.1.0.0 → 0.1.1.0

raw patch · 2 files changed

+9/−8 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.0.0+version:             0.1.1.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@@ -26,10 +26,10 @@     OverloadedStrings     CPP   build-depends:-      base             >=4.8 && <5-    , exceptions       >=0.8 && <0.9-    , selda            >=0.1 && <0.2-    , text             >=1.0 && <1.3+      base             >=4.8   && <5+    , exceptions       >=0.8   && <0.9+    , selda            >=0.1.1 && <0.2+    , text             >=1.0   && <1.3   if !flag(haste)     build-depends:         bytestring       >=0.9 && <0.11
src/Database/Selda/PostgreSQL.hs view
@@ -90,9 +90,10 @@  pgBackend :: Connection -> SeldaBackend pgBackend c = SeldaBackend-  { runStmt       = \q ps -> right <$> pgQueryRunner c False q ps-  , runStmtWithPK = \q ps -> left <$> pgQueryRunner c True q ps-  , customColType = pgColType+  { runStmt        = \q ps -> right <$> pgQueryRunner c False q ps+  , runStmtWithPK  = \q ps -> left <$> pgQueryRunner c True q ps+  , customColType  = pgColType+  , defaultKeyword = "DEFAULT"   }   where     left (Left x) = x