Encoders and decoders for the PostgreSQL's binary format

Version on this page:
LTS Haskell 15.14:0.12.2
Stackage Nightly 2020-06-01:0.12.2
Latest on Hackage:0.12.2

See all snapshots postgresql-binary appears in

MIT licensed and maintained by Nikita Volkov

Module documentation for

This version can be pinned in stack with:[email protected]:5071cae984edddc831f72d30d38740cbca42a0263cefda7bf3ca579b40cc4625,6078

An API for dealing with PostgreSQL's binary data format.

It can be used to implement high level APIs for Postgres. E.g., "hasql-postgres" is based on this library.

It supports all Postgres versions starting from 8.3 and is tested against 8.3, 9.3 and 9.4 with the integer_datetimes setting off and on.