The latest version of hpqtypes is 1.12.0.0-0.

hpqtypes

Version 1.9.1.2 revision 0 uploaded by jonathanjouty_scrive.

Package meta

Synopsis
Haskell bindings to libpqtypes
Description

Efficient and easy-to-use bindings to (slightly modified) libpqtypes, a libpq extension that adds support for a 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.

Author
Scrive AB
Bug reports
n/a
Category
Database
Copyright
Scrive AB
Homepage
https://github.com/scrive/hpqtypes
Maintainer
Andrzej Rybczak <andrzej@rybczak.net>, Jonathan Jouty <jonathan@scrive.com>, Mikhail Glushenkov <mikhail@scrive.com>
Package URL
n/a
Stability
n/a

Components