tmp-proc-postgres 0.6.0.1 → 0.7.0.0
raw patch · 3 files changed
+8/−9 lines, 3 filesdep ~tmp-proc
Dependency ranges changed: tmp-proc
Files
- ChangeLog.md +4/−0
- src/System/TmpProc/Docker/Postgres.hs +1/−1
- tmp-proc-postgres.cabal +3/−8
ChangeLog.md view
@@ -2,6 +2,10 @@ `tmp-proc-postgres` uses [PVP Versioning][1]. +## 0.7.0.0 -- 2024-05-12++* Extend the upper bound for tmp-proc to allow 0.7+ ## 0.6.0.1 -- 2024-02-28 * Extend the version bounds of bytestring to allow 0.12.1
src/System/TmpProc/Docker/Postgres.hs view
@@ -124,7 +124,7 @@ -- | Empty all rows in the tables, if any are specified. reset' :: ProcHandle TmpPostgres -> IO ()-reset' handle@(ProcHandle {hProc}) =+reset' handle@ProcHandle {hProc} = let go (TmpPostgres []) = pure () go (TmpPostgres tables) = withTmpConn handle $ \c -> mapM_ (execute_ c . (fromString . (++) "DELETE FROM ") . Text.unpack) tables
tmp-proc-postgres.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: tmp-proc-postgres-version: 0.6.0.1+version: 0.7.0.0 synopsis: Launch a PostgreSQL database in docker using tmp-proc description: Demos how to use tmp-proc to run a PostgreSQL database in docker in a unittest.@@ -15,12 +15,7 @@ build-type: Simple extra-source-files: ChangeLog.md-tested-with:- GHC == 8.8.4- GHC == 8.10.7- GHC == 9.0.2- GHC == 9.2.8- GHC == 9.4.5+tested-with: GHC ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.5 source-repository head type: git@@ -35,7 +30,7 @@ , bytestring >=0.10.8.2 && <0.12.2 , postgresql-simple >=0.5.4 && <0.8 , text >=1.2.3.0 && <1.3 || >=2.0 && <2.2- , tmp-proc >=0.5.3 && <0.7+ , tmp-proc >=0.5.3 && <0.8 default-language: Haskell2010 ghc-options: -fno-ignore-asserts -Wall