pg-wire: Pure Haskell PostgreSQL wire protocol driver
A complete implementation of the PostgreSQL v3 wire protocol in pure Haskell. Includes connection management, authentication (SCRAM-SHA-256, MD5, cleartext), TLS, connection pooling, and binary format type classes. No dependency on libpq or any C library.
[Skip to Readme]
library pg-wire
Modules
[Index] [Quick Jump]
- PgWire
- PgWire.Async
- Auth
- Binary
- Cache
- PgWire.Cancel
- PgWire.Connection
- PgWire.Error
- PgWire.Pool
- Protocol
- PgWire.TypeCache
- PgWire.Wire
library pg-wire:mockserver
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| werror | Enable -Werror for development builds. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- pg-wire-0.2.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.1.0.0, 0.2.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | async (>=2.2 && <2.3), base (>=4.17 && <5), base64-bytestring (>=1.2 && <1.3), bytestring (>=0.11 && <0.13), containers (>=0.6 && <0.8), cryptohash-md5 (>=0.11 && <0.12), crypton (>=0.34 && <1.1), crypton-x509-store (>=1.6 && <1.7), crypton-x509-system (>=1.6 && <1.7), deepseq (>=1.4 && <1.6), directory (>=1.3 && <1.4), hashable (>=1.4 && <1.6), memory (>=0.18 && <0.19), network (>=3.1 && <3.3), nothunks (>=0.1 && <0.3), pg-wire, random (>=1.2 && <1.4), stm (>=2.5 && <2.6), text (>=2.0 && <2.2), time (>=1.12 && <1.15), tls (>=1.7 && <2.2), vector (>=0.13 && <0.14) [details] |
| Tested with | ghc ==9.10.3 |
| License | BSD-3-Clause |
| Author | Josh Burgess |
| Maintainer | joshburgess.webdev@gmail.com |
| Uploaded | by joshburgess at 2026-04-30T12:27:11Z |
| Category | Database |
| Home page | https://github.com/joshburgess/valiant |
| Bug tracker | https://github.com/joshburgess/valiant/issues |
| Source repo | head: git clone https://github.com/joshburgess/valiant(wire) |
| Distributions | |
| Reverse Dependencies | 5 direct, 4 indirect [details] |
| Downloads | 6 total (6 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-04-30 [all 1 reports] |