polytropos-hasql: High-performance hasql PostgreSQL decoders for polytropos open records

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

High-performance PostgreSQL row decoding integrating polytropos open records with the hasql driver ecosystem.

Polytropos.Hasql.recordRow constructs a Hasql.Decoders.Row decoder that streams SQL columns directly into the contiguous Data.Primitive.SmallArray.SmallArray payload slots in row order. Completely bypasses GHC's 62-column tuple limit and avoids intermediate tuple allocations during query execution.

Start at the front door module Polytropos.Hasql for complete documentation, row decoder combinators, and worked examples.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.2, 0.1.0.3
Change log CHANGELOG.md
Dependencies base (>=4.14 && <5), hasql (>=1.6 && <1.10), polytropos-core (>=0.1 && <0.2), polytropos-plugin (>=0.1 && <0.2) [details]
License (EUPL-1.2 OR Apache-2.0)
Author Nadia Yvette Chambers
Maintainer nadia.yvette.chambers@ik.me
Category Database, PostgreSQL
Home page https://github.com/NadiaYvette/polytropos
Bug tracker https://github.com/NadiaYvette/polytropos/issues
Source repo head: git clone https://github.com/NadiaYvette/polytropos(packages/polytropos-hasql)
Uploaded by nyc at 2026-10-17T18:55:26Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for polytropos-hasql-0.1.0.0

[back to package description]

polytropos-hasql

High-performance PostgreSQL row decoding and statement encoding integrating polytropos open records with hasql.

Overview

polytropos-hasql maps PostgreSQL binary query results directly into flat SmallArray payload slots, eliminating intermediate tuple allocations and tuple arity limits.

Features

License

Dual-licensed under EUPL-1.2 OR Apache-2.0.