Deprecated

In favour of

hasql-postgres

A "PostgreSQL" backend for the "hasql" library

https://github.com/nikita-volkov/hasql-postgres

Version on this page:0.9.1
LTS Haskell 3.22:0.10.6
Stackage Nightly 2015-12-14:0.10.6
Latest on Hackage:0.10.6

See all snapshots hasql-postgres appears in

MIT licensed and maintained by Nikita Volkov
This version can be pinned in stack with:hasql-postgres-0.9.1@sha256:a8a8abdd0d76ebfffaf081e04ff78ffc9a1b379678e1a40d03937d6d26899f24,6784

Module documentation for 0.9.1

This library provides a "PostgreSQL" driver for the "hasql" 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.

According to the included benchmarks, it performs up to 2x faster than "postgresql-simple" and up to 7x faster than "HDBC". You can read up a post with analysis of those benchmarks.

Changes

0.9.1

  • The Unknown type got implemented

0.9.0

  • The unit result handler no longer fails on statements, which do produce results
  • The dependency on “list-t” got relaxed
  • The dependency on “either” got restricted