Encoders and decoders for the PostgreSQL's binary format

Version on this page:0.12.2
LTS Haskell 16.20:0.12.2
Stackage Nightly 2020-10-28:
Latest on Hackage:

See all snapshots postgresql-binary appears in

MIT licensed and maintained by Nikita Volkov

Module documentation for 0.12.2

This version can be pinned in stack with:postgresql-binary-0.12.2@sha256:a6f29f6bb8687f25bd926e3ba30269966810f7b65c620e18a1406aa16c4ef278,6058

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.