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.10.6
LTS Haskell 3.22:0.10.6
Stackage Nightly 2015-12-14:0.10.6
Latest on Hackage:0.10.6
MIT licensed and maintained by Nikita Volkov

Module documentation for 0.10.6

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.10.3.1

  • "attoparsec"-0.13 support

0.10.3

  • GHC 7.10 support

0.10.2

  • JSON support

0.10.1

  • Update the "backend" dependency

0.10.0 - Major overhaul

  • Transactions now are only retried in case of the "serialization_failure" (40001) error

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
comments powered byDisqus