Encoders and decoders for the PostgreSQL's binary format

Version on this page:
LTS Haskell 21.14:0.13.1
Stackage Nightly 2023-10-03:0.13.1
Latest on Hackage:0.13.1

See all snapshots postgresql-binary appears in

MIT licensed and maintained by Nikita Volkov
This version can be pinned in stack with:postgresql-binary-,6060

Module documentation for

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.