postgresql-binary

Encoders and decoders for the PostgreSQL's binary format

https://github.com/nikita-volkov/postgresql-binary

Version on this page:0.14.2
LTS Haskell 24.16:0.14.2
Stackage Nightly 2025-10-25:0.14.2
Latest on Hackage:0.15

See all snapshots postgresql-binary appears in

MIT licensed and maintained by Nikita Volkov
This version can be pinned in stack with:postgresql-binary-0.14.2@sha256:1ec45b417bd332feea37474fd0bbc2f3ebdb79dea67ca4b9d4188bbad0d21ddd,3840

Module documentation for 0.14.2

An API for dealing with PostgreSQL's binary data format. . It can be used to implement performant bindings to Postgres. E.g., hasql is based on this library. . It supports all Postgres versions starting from 8.3 and is tested against 8.3, 9.3 and 9.5 with the integer_datetimes setting off and on.

Changes

0.14

  • Moved to “iproute” from “network-ip” for inet datatypes

0.13

  • Removed PostgreSQL.Binary.Data. Because it was causing Haddock in the dependant packages to unpredictably redirect to it instead of the original location regardless of whether they were imported from it.