All Projects → scrive → hpqtypes

scrive / hpqtypes

Licence: BSD-3-Clause License
hackage.haskell.org/package/hpqtypes

Programming Languages

haskell
3896 projects
c
50402 projects - #5 most used programming language
shell
77523 projects
Roff
2310 projects
Makefile
30231 projects
M4
1887 projects

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].