packages feed

hasql-pool 0.9 → 0.9.0.1

raw patch · 2 files changed

+4/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hasql-pool.cabal view
@@ -1,6 +1,6 @@ cabal-version:      3.0 name:               hasql-pool-version:            0.9+version:            0.9.0.1 category:           Hasql, Database, PostgreSQL synopsis:           Pool of connections for Hasql homepage:           https://github.com/nikita-volkov/hasql-pool
library/Hasql/Pool.hs view
@@ -137,6 +137,9 @@ -- connection. In such case the connection does not get returned to the pool -- and a slot gets freed up for a new connection to be established the next -- time one is needed. The error still gets returned from this function.+--+-- __Warning:__ Due to the mechanism mentioned above you should avoid consuming+-- errors within sessions. use :: Pool -> Session.Session a -> IO (Either UsageError a) use Pool {..} sess = do   timeout <- do