homepage: https://github.com/avanov/hasql-resource-pool
changelog-type: markdown
hash: a137d3382a58fc4148654dabac4039f10558ecab77ae0ff66cbd9d1b7bfda069
test-bench-deps:
  hasql: -any
  base-prelude: -any
  hspec: '>=2.6 && <3'
  hasql-pool: -any
maintainer: Maxim Avanov <maxim.avanov@gmail.com>
synopsis: A pool of connections for Hasql based on resource-pool.
changelog: |
  # 0.5.3

  Initial release as a new package. The implementation is based on `hasql-pool` v0.5.2.2
  and continues using `resource-pool` v0.2.x
  (actually, a [fork with important performance and stats changes applied](https://github.com/bos/pool/pull/43)).
  The long-term plan is to make a switch to a [newer v0.3.x maintained by scrive](https://github.com/bos/pool/pull/43).
basic-deps:
  hasql: '>=1.3 && <1.6'
  base-prelude: '>=1 && <2'
  resource-pool-fork-avanov: -any
  time: '>=1.5 && <2'
  clock: '>=0.8'
all-versions:
- 0.5.3.0
author: Nikita Volkov <nikita.y.volkov@mail.ru>
latest: 0.5.3.0
description-type: markdown
description: |
  hasql-resource-pool
  ===================

  This is a fork of [hasql-pool](https://github.com/nikita-volkov/hasql-pool) that
  continues using [resource-pool](https://hackage.haskell.org/package/resource-pool) for
  the underlying pool implementation.

  The fork is based on [0.5.2.2 release](https://hackage.haskell.org/package/hasql-pool)
  (as the latest original implementation based on `resource-pool`), and it includes the following API and layout changes:

  * Connections are based on settings with IO actions.
    This change to the API makes the library usable with the custom authentication methods
    such as [AWS RDS IAM tokens](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html).
  * Pool interface allows for specifying IO observer actions. These actions are useful for collecting and tracking various pool metrics
    with tools like [Prometheus](https://prometheus.io/docs/introduction/overview/).
  * No reliance on Stack tooling.
license-name: MIT

Update from Hackage at 2022-06-12T18:54:33Z
Update from Hackage at 2022-06-12T18:54:33Z
