Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
acquire :: Int -> Settings -> IO Pool Source #
Given the pool-size and connection settings create a connection-pool.
data UsageError Source #
A union over the connection establishment error and the session error.
Instances
Eq UsageError Source # | |
Defined in Hasql.Pool (==) :: UsageError -> UsageError -> Bool # (/=) :: UsageError -> UsageError -> Bool # | |
Show UsageError Source # | |
Defined in Hasql.Pool showsPrec :: Int -> UsageError -> ShowS # show :: UsageError -> String # showList :: [UsageError] -> ShowS # |