hpqtypes: Haskell bindings to libpqtypes
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.
[Skip to Readme]
Modules
[Index] [Quick Jump]
- Data
- Monoid
- Database
- PostgreSQL
- Database.PostgreSQL.PQTypes
- Database.PostgreSQL.PQTypes.Array
- Database.PostgreSQL.PQTypes.Class
- Database.PostgreSQL.PQTypes.Composite
- Database.PostgreSQL.PQTypes.Cursor
- Database.PostgreSQL.PQTypes.Fold
- Database.PostgreSQL.PQTypes.Format
- Database.PostgreSQL.PQTypes.FromRow
- Database.PostgreSQL.PQTypes.FromSQL
- Internal
- C
- Database.PostgreSQL.PQTypes.Internal.Composite
- Database.PostgreSQL.PQTypes.Internal.Connection
- Database.PostgreSQL.PQTypes.Internal.Error
- Database.PostgreSQL.PQTypes.Internal.Exception
- Database.PostgreSQL.PQTypes.Internal.Monad
- Database.PostgreSQL.PQTypes.Internal.Notification
- Database.PostgreSQL.PQTypes.Internal.Query
- Database.PostgreSQL.PQTypes.Internal.QueryResult
- Database.PostgreSQL.PQTypes.Internal.State
- Database.PostgreSQL.PQTypes.Internal.Utils
- Database.PostgreSQL.PQTypes.Interval
- Database.PostgreSQL.PQTypes.JSON
- Database.PostgreSQL.PQTypes.Notification
- Database.PostgreSQL.PQTypes.SQL
- Database.PostgreSQL.PQTypes.ToRow
- Database.PostgreSQL.PQTypes.ToSQL
- Database.PostgreSQL.PQTypes.Transaction
- Database.PostgreSQL.PQTypes.Utils
- Database.PostgreSQL.PQTypes.XML
- Database.PostgreSQL.PQTypes
- PostgreSQL
Downloads
- hpqtypes-1.9.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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) |
---|---|
Change log | CHANGELOG.md |
Dependencies | aeson (>=1.0), async (>=2.1.1.1), base (>=4.9 && <5), bytestring (>=0.9), containers (>=0.5.0.0), exceptions (>=0.6), lifted-base (>=0.2), monad-control (>=0.3), mtl (>=2.1), resource-pool (>=0.2), semigroups (>=0.16), text (>=0.11), text-show (>=2), time (>=1.4), transformers (>=0.2.2), transformers-base (>=0.4), uuid-types (>=1.0.3), vector (>=0.10) [details] |
Tested with | ghc ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.2 |
License | BSD-3-Clause |
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 repo | head: git clone https://github.com/scrive/hpqtypes.git this: git clone https://github.com/scrive/hpqtypes.git(tag 1.7.0.0) |
Uploaded | by arybczak at 2020-09-15T12:56:36Z |
Distributions | LTSHaskell:1.12.0.0, Stackage:1.12.0.0 |
Reverse Dependencies | 7 direct, 0 indirect [details] |
Downloads | 22501 total (7 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2020-09-15 [all 1 reports] |