pg-transact 0.3.1.0 → 0.3.1.1
raw patch · 3 files changed
+5/−2 lines, 3 files
Files
- CHANGELOG.md +3/−0
- pg-transact.cabal +1/−1
- src/Database/PostgreSQL/Transact.hs +1/−1
CHANGELOG.md view
@@ -1,3 +1,6 @@+- 0.3.1.1+ - #15 Remove unnecessary `ROLLBACK` call in `abort`+ - 0.3.1.0 - #5 Add abort
pg-transact.cabal view
@@ -1,5 +1,5 @@ name: pg-transact-version: 0.3.1.0+version: 0.3.1.1 synopsis: A postgresql-simple transaction monad description: Another postgresql-simple transaction monad homepage: https://github.com/jfischoff/pg-transact#readme
src/Database/PostgreSQL/Transact.hs view
@@ -243,4 +243,4 @@ -- by the transaction running functions. If you call 'abort' you need to -- also be prepared to handle the 'Abort' exception. abort :: (MonadMask m, MonadIO m) => DBT m a -> DBT m a-abort = flip finally ((execute_ "ROLLBACK") >> throwM Abort)+abort = flip finally (throwM Abort)