hpqtypes: Haskell bindings to libpqtypes

[ bsd3, database, library ] [ Propose Tags ]

Efficient and easy-to-use bindings to (slightly modified) libpqtypes, lipq extension that adds support for binary transport format and composite types.

Since modified libpqtypes is used, its source code is bundled along with the bindings. The differences between verbatim libpqtypes and the one used by this package:

  • per-thread global error structures were replaced by explicit passing of these structures around so that there is no need to use bound threads.

  • handlers that take values to be put into the database were modified to always expect pointers to objects, as opposed to previous situation where primitives were being taken by value (which was convenient if the library was used directly from C, but created inconsistency problems while trying to define bindings in a sensible way).

Examples can be found in the examples directory.

Flags

Automatic Flags
NameDescriptionDefault
tests

Build test suite

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1, 1.5.1.1, 1.5.2.0, 1.5.3.0, 1.6.0.0, 1.6.1.0, 1.7.0.0, 1.8.0.0, 1.8.0.1, 1.9.0.0, 1.9.0.1, 1.9.1.0, 1.9.1.1, 1.9.1.2, 1.9.2.0, 1.9.2.1, 1.9.3.0, 1.9.3.1, 1.9.4.0, 1.10.0.0, 1.10.0.1, 1.10.0.2, 1.11.0.0, 1.11.1.0, 1.11.1.1, 1.11.1.2, 1.12.0.0 (info)
Dependencies base (>=4.5 && <5), bytestring (>=0.9), containers (>=0.4.0.0), exceptions (>=0.6), hpqtypes, HUnit (>=1.2), lifted-base (>=0.2), monad-control (>=0.3), mtl (>=2.1), QuickCheck (>=2.5 && <2.7), random (>=1.0), resource-pool (>=0.2), test-framework (>=0.8), test-framework-hunit (>=0.3), text (>=0.11), time (>=1.4), transformers (>=0.2.2), transformers-base (>=0.4), vector (>=0.10) [details]
License BSD-3-Clause
Author Scrive
Maintainer Andrzej Rybczak <andrzej@scrive.com>
Category Database
Uploaded by arybczak at 2015-01-09T11:01:56Z
Distributions LTSHaskell:1.11.1.2, Stackage:1.12.0.0
Reverse Dependencies 6 direct, 0 indirect [details]
Executables tests
Downloads 21358 total (112 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-01-11 [all 1 reports]