packages feed

hasql-pool 0.8.0.3 → 0.8.0.4

raw patch · 2 files changed

+7/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hasql-pool.cabal view
@@ -1,7 +1,7 @@ cabal-version: 3.0  name: hasql-pool-version: 0.8.0.3+version: 0.8.0.4  category: Hasql, Database, PostgreSQL synopsis: Pool of connections for Hasql
library/Hasql/Pool.hs view
@@ -71,8 +71,12 @@     <*> (newTVarIO =<< newTVarIO True)  -- | Release all the idle connections in the pool, and mark the in-use connections--- to be released on return. Any connections acquired after the call will be--- newly established.+-- to be released after use. Any connections acquired after the call will be+-- freshly established.+-- +-- The pool remains usable after this action.+-- So you can use this function to reset the connections in the pool.+-- Naturally, you can also use it to release the resources. release :: Pool -> IO () release Pool {..} =   join . atomically $ do