postgresql-simple 0.7.0.0 → 0.7.0.1
raw patch · 4 files changed
+18/−12 lines, 4 filesdep −HUnitdep ~basedep ~inspection-testingdep ~template-haskell
Dependencies removed: HUnit
Dependency ranges changed: base, inspection-testing, template-haskell
Files
- postgresql-simple.cabal +14/−12
- src/Database/PostgreSQL/Simple/Copy.hs +1/−0
- src/Database/PostgreSQL/Simple/Internal.hs +2/−0
- src/Database/PostgreSQL/Simple/Internal/PQResultUtils.hs +1/−0
postgresql-simple.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.12 name: postgresql-simple-version: 0.7.0.0+version: 0.7.0.1 synopsis: Mid-Level PostgreSQL client library description: Mid-Level PostgreSQL client library, forked from mysql-simple.@@ -28,8 +28,11 @@ || ==8.10.7 || ==9.0.2 || ==9.2.8- || ==9.4.5- || ==9.6.2+ || ==9.4.8+ || ==9.6.7+ || ==9.8.4+ || ==9.10.2+ || ==9.12.2 library default-language: Haskell2010@@ -75,11 +78,11 @@ -- GHC bundled libs build-depends:- base >=4.12.0.0 && <4.19- , bytestring >=0.10.8.2 && <0.12- , containers >=0.6.0.1 && <0.7- , template-haskell >=2.14.0.0 && <2.21- , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1+ base >=4.12.0.0 && <4.22+ , bytestring >=0.10.8.2 && <0.13+ , containers >=0.6.0.1 && <0.8+ , template-haskell >=2.14.0.0 && <2.24+ , text >=1.2.3.0 && <1.3 || >=2.0 && <2.2 , time-compat >=1.9.5 && <1.12 , transformers >=0.5.6.2 && <0.7 @@ -88,9 +91,9 @@ aeson >=2.1.2.1 && <2.3 , attoparsec >=0.14.4 && <0.15 , case-insensitive >=1.2.1.0 && <1.3- , hashable >=1.4.3.0 && <1.5+ , hashable >=1.4.3.0 && <1.6 , Only >=0.1 && <0.1.1- , postgresql-libpq >=0.10.0.0 && <0.11+ , postgresql-libpq >=0.10.0.0 && <0.12 , scientific >=0.3.7.0 && <0.4 , uuid-types >=1.0.5 && <1.1 , vector >=0.13.0.0 && <0.14@@ -115,7 +118,7 @@ main-is: Inspection.hs build-depends: base- , inspection-testing >=0.4.1.1 && <0.6+ , inspection-testing >=0.4.1.1 && <0.7 , postgresql-libpq , postgresql-simple , tasty@@ -153,7 +156,6 @@ , containers , cryptohash-md5 >=0.11.100.1 && <0.12 , filepath- , HUnit , postgresql-simple , tasty , tasty-golden
src/Database/PostgreSQL/Simple/Copy.hs view
@@ -91,6 +91,7 @@ PQ.BadResponse -> throwResultError funcName result status PQ.NonfatalError -> throwResultError funcName result status PQ.FatalError -> throwResultError funcName result status+ _ -> throwResultError funcName result status -- TODO data CopyOutResult = CopyOutRow !B.ByteString -- ^ Data representing either exactly
src/Database/PostgreSQL/Simple/Internal.hs view
@@ -396,6 +396,7 @@ PQ.BadResponse -> getResult h mres' PQ.NonfatalError -> getResult h mres' PQ.FatalError -> getResult h mres'+ _ -> error "incomplete match" #endif -- | A version of 'execute' that does not perform query substitution.@@ -431,6 +432,7 @@ PQ.BadResponse -> throwResultError "execute" result status PQ.NonfatalError -> throwResultError "execute" result status PQ.FatalError -> throwResultError "execute" result status+ _ -> throwResultError "execute: TODO" result status where mkInteger str = B8.foldl' delta 0 str where
src/Database/PostgreSQL/Simple/Internal/PQResultUtils.hs view
@@ -81,6 +81,7 @@ PQ.BadResponse -> throwResultError "query" result status PQ.NonfatalError -> throwResultError "query" result status PQ.FatalError -> throwResultError "query" result status+ _ -> throwResultError "query: TODO" result status where queryErr msg = throwIO $ QueryError msg q