postgresql-binary

Encoders and decoders for the PostgreSQL's binary format https://github.com/nikita-volkov/postgresql-binary

Version on this page:0.5.0
LTS Haskell 15.14:0.12.2
Stackage Nightly 2020-05-26: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 0.5.0

This version can be pinned in stack with:[email protected]:b789e87c157aa9fd6d8fcda976caa116e634395bb8895b06fc62566dd1361513,6110
  • PostgreSQLBinary
    • PostgreSQLBinary.Array
    • PostgreSQLBinary.Decoder
    • PostgreSQLBinary.Encoder

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.