pqi: Driver-agnostic interface to the PostgreSQL libpq API
pqi reproduces the API surface of the postgresql-libpq package, but
reifies the connection (and its results) as a plain record of closures
instead of a single concrete type tied to libpq. This lets callers
program against one interface and pick an adapter package to construct it:
pqi-ffi— a thin adapter backed by the Clibpqlibrary viapostgresql-libpq.pqi-native— a pure-Haskell adapter that speaks the PostgreSQL wire protocol directly.
This package ships only the interface: the record types, and an Adapter type for adapter packages to bundle their
connection-establishing functions under.
[Skip to Readme]
Downloads
- pqi-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.0.1.0, 0.0.1.1, 0.1.0.0, 0.1.0.1, 0.1.0.2, 1.0.0.0, 1.0.0.1, 1.0.0.2, 1.0.0.3, 1.1.0.0, 1.1.0.1, 1.1.0.2 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.11 && <5), bytestring (>=0.10 && <0.13), text (>=1.2 && <2.2) [details] |
| License | MIT |
| Copyright | (c) 2026, Nikita Volkov |
| Author | Nikita Volkov <nikita.y.volkov@mail.ru> |
| Maintainer | Nikita Volkov <nikita.y.volkov@mail.ru> |
| Uploaded | by NikitaVolkov at 2026-08-03T09:16:47Z |
| Category | Database, PostgreSQL |
| Home page | https://github.com/nikita-volkov/pqi |
| Bug tracker | https://github.com/nikita-volkov/pqi/issues |
| Source repo | head: git clone https://github.com/nikita-volkov/pqi |
| Distributions | Stackage:1.1.0.1 |
| Reverse Dependencies | 7 direct, 105 indirect [details] |
| Downloads | 123 total (44 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2026-08-03 [all 1 reports] |