hasql-resource-pool: A pool of connections for Hasql based on resource-pool.

[ database, hasql, library, mit, postgresql ] [ Propose Tags ]

This package is derived from hasql-pool v0.5.2.2 and continues using resource-pool for an underlying pool implementation.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],, (info)
Change log CHANGELOG.md
Dependencies base-prelude (>=1 && <2), clock (>=0.8), hasql (>=1.3 && <1.6), resource-pool-fork-avanov, time (>=1.5 && <2) [details]
License MIT
Copyright (c) 2022, Maxim Avanov
Author Nikita Volkov <nikita.y.volkov@mail.ru>
Maintainer Maxim Avanov <maxim.avanov@gmail.com>
Category Hasql, Database, PostgreSQL
Home page https://github.com/avanov/hasql-resource-pool
Bug tracker https://github.com/avanov/hasql-resource-pool/issues
Source repo head: git clone git://github.com/avanov/hasql-resource-pool.git
Uploaded by avanov at 2022-06-12T21:07:11Z
Distributions NixOS:
Downloads 84 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-06-12 [all 1 reports]

Readme for hasql-resource-pool-

[back to package description]


This is a fork of hasql-pool that continues using resource-pool for the underlying pool implementation.

The fork is based on release (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.
  • Pool interface allows for specifying IO observer actions. These actions are useful for collecting and tracking various pool metrics with tools like Prometheus.
  • No reliance on Stack tooling.