The hpqtypes package

[ Tags: 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:

Examples can be found in the examples directory.


[Skip to Readme]

Properties

Versions 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 (info)
Change log CHANGELOG.md
Dependencies aeson (>=0.6.2.0), base (>=4.7 && <5), bytestring (>=0.9), containers (>=0.4.0.0), data-default-class, exceptions (>=0.6), lifted-base (>=0.2), monad-control (>=0.3), mtl (>=2.1), resource-pool (>=0.2), text (>=0.11), text-show (>=2), time (>=1.4), transformers (>=0.2.2), transformers-base (>=0.4), vector (>=0.10) [details]
License BSD3
Copyright Scrive AB
Author Scrive AB
Maintainer Andrzej Rybczak <andrzej@rybczak.net>, Jonathan Jouty <jonathan@scrive.com>, Mikhail Glushenkov <mikhail@scrive.com>
Category Database
Home page https://github.com/scrive/hpqtypes
Source repository head: git clone git@github.com:scrive/log.git
Uploaded Thu Sep 22 15:01:17 UTC 2016 by MikhailGlushenkov
Updated Tue Nov 22 09:45:33 UTC 2016 by MikhailGlushenkov to revision 1   [What is this?]
Distributions LTSHaskell:1.5.1.1, NixOS:1.5.1.1, Stackage:1.5.1.1, Tumbleweed:1.5.1.1
Downloads 2379 total (183 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-09-22 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hpqtypes-1.5.1.1

[back to package description]

hpqtypes Hackage version Build Status

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.