| CARVIEW |
haskell-pgmq: Haskell interface for Tembo's PGMQ PostgreSQL extension
Please see the README on GitHub at https://gitlab.iscpif.fr/gargantext/haskell-pgmq/blob/master/README.md
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- haskell-pgmq-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson (>=1.4 && <2.3), base (>=4.17.2.0 && <5), bytestring (>=0.11 && <0.13), haskell-pgmq, postgresql-simple (>=0.6 && <0.8), safe (>=0.3 && <0.4), text (>=1.2 && <2.2), time (>=1.10 && <1.15), units (>=2.4 && <2.5) [details] |
| License | AGPL-3.0-or-later |
| Author | Gargantext |
| Maintainer | gargantext@iscpif.fr |
| Uploaded | by cgenie at 2025-06-16T10:29:50Z |
| Category | Database |
| Home page | https://gitlab.iscpif.fr/gargantext/haskell-pgmq |
| Source repo | head: git clone https://gitlab.iscpif.fr/gargantext/haskell-pgmq.git |
| Distributions | NixOS:0.1.0.0 |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Executables | simple-test, simple-exception-catch |
| Downloads | 32 total (4 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs uploaded by user Build status unknown [no reports yet] |
Readme for haskell-pgmq-0.1.0.0
[back to package description]Haskell PGMQ
This is a Haskell interface to Tembo's pgmq PostgreSQL extension.
The API design is based on Elixir PGMQ bindings.
Running test cases
There is a binary located at ./bin/simple-test/Main.hs, which contains all test cases
for the basic module Database.PGMQ.Simple.
First, choose which container image to use:
export PGMQ_CONTAINER=quay.io/tembo/pg16-pgmq:latest
However, with the above container, some tests might fail because certain functions
throw errors when a table is not present (e.g. pgmq.drop_queue).
Some fixes are available in our custom repository: https://github.com/garganscript/pgmq and you can use:
export PGMQ_CONTAINER=cgenie/pgmq:16-1.3.3.1
To run the tests, first start a PGMQ container:
podman run --rm --name pgmq -e POSTGRES_PASSWORD=postgres -p 5432:5432 $PGMQ_CONTAINER
or with Docker:
docker run --rm --name pgmq -e POSTGRES_PASSWORD=postgres -p 5432:5432 $PGMQ_CONTAINER
Then, execute the tests:
cabal v2-test
The tests should print debug information and complete without errors.