packages feed

pgqueuer-hs

High-performance PostgreSQL background job queue with cron and workflows

view on Hackage

A high-throughput, type-safe PostgreSQL-backed job queue for Haskell applications. Inspired by pgqueuer in Python, pgqueuer-hs leverages PostgreSQL's LISTEN / NOTIFY and `FOR UPDATE SKIP LOCKED` for reliable, non-contending, at-least-once distributed job processing. Key features: * Zero-polling real-time dispatch via PostgreSQL LISTEN / NOTIFY * Non-contending job claims using `FOR UPDATE SKIP LOCKED` * Dual backend support: `SimpleDb` (postgresql-simple) and `HasqlDb` (binary protocol via Hasql) * Declarative Workflow DAG orchestration (`JobTree` and `<~~` operator) * Native recurring cron job scheduling * Pluggable retry backoff policies (constant, linear, exponential) with full and equal jitter * Write batching and rate limiting via `TimedOverflowBuffer` to protect PostgreSQL WAL * Full end-to-end distributed tracing support For getting started and runnable examples, please see the README on GitHub at <https://github.com/tusharad/pgqueuer-hs#readme>.
versionuploadeduploaderchanges
0.1.0.0 files2026-11-14 06:59 UTCtusharad+5270/−1111 lines, 31 filesdep +asyncdep +case-insensitivedep +contravariantPVP ok
0.0.1.0 files2026-07-12 15:42 UTCtusharad+1688/−0 lines, 13 filesdep +aesondep +basedep +bytestringsetup-changed

Dependencies of pgqueuer-hs-0.1.0.0

aeson >=2.0 && <3 2.3.2.0 → 2.3.3.0
2026-11-23 21:23 UTC2.3.3.0+124/−38 lines, 10 filesPVP ok
2026-09-12 18:04 UTC2.3.2.0+97/−60 lines, 13 filesPVP ok
2026-07-05 10:37 UTC2.3.1.0+101/−42 lines, 17 filesdep ~text-iso8601PVP ok
2026-05-21 08:35 UTC2.3.0.0+54/−41 lines, 17 filesdep ~nothunksdep ~text-iso8601new-uploaderPVP ok
2026-08-29 13:20 UTC2.2.5.1+36/−24 lines, 4 filesnew-uploaderPVP ok

showing 5 of 106 versions

async >=2.2 && <3 2.2.5 → 2.2.6
2026-01-07 11:26 UTC2.2.6+503/−61 lines, 7 filesdep +unordered-containersPVP: major bump suggested
2023-11-21 08:08 UTC2.2.5+1025/−797 lines, 5 filesdep ~basedep ~hashablePVP: major bump suggested
2021-10-04 12:00 UTC2.2.4+26/−8 lines, 3 filesdep ~basedep ~hashablePVP ok
2021-02-16 10:05 UTC2.2.3+160/−78 lines, 3 filesdep ~basePVP ok
2019-06-06 08:27 UTC2.2.2+48/−15 lines, 4 filesdep ~basedep ~hashablePVP: major bump suggested

showing 5 of 23 versions

base >=4.7 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0 HSEC-2023-0007+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0 HSEC-2023-0007+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0 HSEC-2023-0007+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0 HSEC-2023-0007+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0 HSEC-2023-0007+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

bytestring >=0.10.4.0 && <0.13 0.12.1.0 → 0.12.2.0
2024-12-06 21:41 UTC0.12.2.0+538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok
2024-02-16 03:27 UTC0.12.1.0+3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested
2023-08-16 01:53 UTC0.12.0.2+16/−2 lines, 3 files
2023-08-05 00:03 UTC0.12.0.1+47/−9 lines, 3 files
2023-07-07 01:45 UTC0.12.0.0+1459/−520 lines, 21 filesdep +data-array-bytePVP ok

showing 5 of 49 versions

case-insensitive >=0 1.2.1.0 → 1.2.2.0
2026-11-05 20:14 UTC1.2.2.0+114/−94 lines, 8 filesdep +tastydep +tasty-hunitdep +template-haskelldep −semigroupsdep −test-frameworkdep −test-framework-hunitdep ~basedep ~bytestringdep ~deepseqnew-uploaderPVP ok
2019-05-05 04:35 UTC1.2.1.0+12/−1 lines, 4 filesnew-uploaderPVP: major bump suggested
2018-03-14 20:12 UTC1.2.0.11+21/−17 lines, 2 filesdep ~HUnitdep ~basedep ~bytestringPVP: major bump suggested
2017-05-27 14:27 UTC1.2.0.10+7/−2 lines, 2 filesdep ~HUnitdep ~basedep ~criterionPVP ok
2017-04-22 13:43 UTC1.2.0.9+9/−4 lines, 2 filesdep ~basePVP ok

showing 5 of 32 versions

containers >=0.6 && <0.8 0.7 → 0.8.1 newer than bounds
2026-10-04 06:08 UTC0.8.1 newer than bounds+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8 newer than bounds+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

contravariant >=1.5 && <2 1.5.5 → 1.5.6
2026-01-10 19:55 UTC1.5.6+38/−170 lines, 7 filesdep −ghc-primdep −semigroupsdep −taggeddep ~basePVP: major bump suggested
2021-07-27 22:26 UTC1.5.5+20/−9 lines, 3 filesdep ~transformersPVP ok
2021-07-25 21:01 UTC1.5.4+29/−17 lines, 3 filesPVP ok
2020-12-30 12:41 UTC1.5.3+48/−200 lines, 10 filesdep ~StateVardep ~semigroupsdep ~taggedPVP ok
2019-06-03 12:26 UTC1.5.2+13/−9 lines, 4 filesdep ~StateVarPVP ok

showing 5 of 41 versions

cron >=0.7 && <1 0.7.1 → 0.7.2
2024-11-09 20:15 UTC0.7.2+13/−10 lines, 7 filesdep +data-defaultdep −data-default-classPVP: major bump suggested
2024-01-21 01:35 UTC0.7.1+6/−2 lines, 3 filesdep ~textPVP ok
2020-03-24 17:44 UTC0.7.0+84/−30 lines, 8 filesdep ~textPVP ok
2020-01-10 03:53 UTC0.6.2 outside bounds+222/−202 lines, 9 filesdep +hedgehogdep +tasty-hedgehogdep −generics-sopdep −quickcheck-instancesdep −tasty-quickcheckPVP: major bump suggested
2017-11-23 21:47 UTC0.6.1 outside bounds+99/−42 lines, 5 filesPVP ok

showing 5 of 25 versions

hasql >=1.6 && <1.10 1.9.3.2 → 2.2.0.0 newer than bounds
2026-12-04 09:32 UTC2.2.0.0 newer than bounds+939/−141 lines, 13 filesdep +networkdep ~pqi-nativePVP ok
2026-11-26 11:28 UTC2.1.0.0 newer than bounds+2670/−1607 lines, 55 filesdep +base16-bytestringdep +cryptohash-sha256dep +testcontainersdep ~iproutedep ~pqi-nativePVP ok
2026-08-12 18:10 UTC2.0.1.0 newer than bounds+658/−569 lines, 32 filesPVP ok
2026-08-10 16:35 UTC2.0.0.3 newer than bounds+4080/−4338 lines, 68 filesPVP ok
2026-08-06 14:02 UTC2.0.0.2 newer than bounds+198/−23 lines, 7 filesPVP ok

showing 5 of 145 versions

hasql-pool >=1.2 && <1.4 1.3.0.6 → 1.7.0.0 newer than bounds
2026-12-04 09:55 UTC1.7.0.0 newer than bounds+79/−40 lines, 7 filesdep ~hasqlPVP ok
2026-11-26 12:49 UTC1.6.0.0 newer than bounds+592/−68 lines, 10 filesdep ~hasqlPVP ok
2026-11-02 22:40 UTC1.5.1.1 newer than bounds+97/−11 lines, 5 filesPVP ok
2026-11-01 15:35 UTC1.5.1.0 newer than bounds+723/−102 lines, 14 filesPVP ok
2026-08-06 16:42 UTC1.5.0.1 newer than bounds+7/−3 lines, 2 filesdep ~pqiPVP ok

showing 5 of 64 versions

hs-opentelemetry-api >=0 0.3.1.0 → 1.0.0.0
2026-05-29 14:41 UTC1.0.0.0+14077/−3670 lines, 99 filesdep +containersdep +hedgehogdep +hs-opentelemetry-api-typesdep −attoparsecdep −binarydep −charsetdep ~thread-utils-contextPVP ok
2026-03-09 17:17 UTC0.3.1.0+76/−2 lines, 6 filesPVP ok
2025-10-07 20:40 UTC0.3.0.0+505/−178 lines, 16 filesPVP ok
2024-11-24 20:29 UTC0.2.0.0+1756/−385 lines, 29 filesdep +regex-tdfadep +safe-exceptionsdep −containersdep −ghc-primnew-uploaderPVP ok
2023-08-31 14:13 UTC0.1.0.0+402/−271 lines, 18 filesPVP ok

showing 5 of 16 versions

hs-opentelemetry-propagator-w3c >=0 0.1.0.0 → 1.0.0.0
2026-05-29 14:41 UTC1.0.0.0+948/−564 lines, 10 filesdep +unordered-containersdep −http-typesdep ~hs-opentelemetry-apidep ~hs-opentelemetry-propagator-w3cPVP ok
2025-10-07 20:40 UTC0.1.0.0+761/−10 lines, 8 filesdep +QuickCheckdep +hs-opentelemetry-propagator-w3cdep +hspecdep ~hs-opentelemetry-apiPVP ok
2024-11-24 20:29 UTC0.0.1.4+9/−27 lines, 3 filesdep −hs-opentelemetry-propagator-w3cdep −textdep ~hs-opentelemetry-apinew-uploaderPVP ok
2023-08-31 14:14 UTC0.0.1.3+118/−93 lines, 5 filesdep ~hs-opentelemetry-apisetup-changedPVP ok
2021-12-26 20:49 UTC0.0.1.2+3/−3 lines, 1 filesdep ~hs-opentelemetry-apiPVP ok

showing 5 of 7 versions

http-types >=0 0.12.5 → 0.12.6
2026-08-13 12:48 UTC0.12.6+21/−14 lines, 3 filesdep −arrayPVP ok
2026-05-31 21:06 UTC0.12.5+843/−207 lines, 20 filesdep +filepathdep +hspec-goldendep ~arraydep ~basedep ~bytestringPVP: major bump suggested
2023-11-30 02:34 UTC0.12.4+1704/−748 lines, 10 filesnew-uploaderPVP: major bump suggested
2019-02-24 11:33 UTC0.12.3+7/−6 lines, 3 filesPVP: major bump suggested
2018-09-26 20:04 UTC0.12.2+37/−19 lines, 4 filesPVP ok

showing 5 of 48 versions

mtl >=2.2 && <3 2.3.1 → 2.3.2
2025-12-08 04:58 UTC2.3.2+112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested
2022-10-31 21:28 UTC2.3.1+188/−33 lines, 8 filesdep ~basePVP: major bump suggested
2022-05-07 20:34 UTC2.3 deprecated+1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok
2018-02-24 22:15 UTC2.2.2+152/−36 lines, 14 filesdep ~basePVP: major bump suggested
2014-06-02 02:22 UTC2.2.1+179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested

showing 5 of 20 versions

postgresql-simple >=0.7 && <0.9 0.7.0.0 → 0.7.0.1
2025-08-02 19:12 UTC0.7.0.1+18/−12 lines, 4 filesdep −HUnitdep ~basedep ~inspection-testingdep ~template-haskell
2023-08-01 13:28 UTC0.7.0.0+140/−158 lines, 16 filesdep −bytestring-builderdep −faildep −ghc-primdep ~aesondep ~attoparsecdep ~basePVP ok
2023-07-09 20:01 UTC0.6.5.1 outside bounds+18/−9 lines, 3 filesdep ~aesonPVP: major bump suggested
2022-10-30 16:49 UTC0.6.5 outside bounds+39/−25 lines, 9 filesdep ~basedep ~template-haskellPVP: major bump suggested
2021-01-06 18:50 UTC0.6.4 outside bounds+309/−21 lines, 13 filesdep +time-compatdep −timedep ~aesondep ~attoparsecdep ~basePVP ok

showing 5 of 74 versions

random >=1.2 && <1.3 1.2.1.3 → 1.3.1 newer than bounds
2025-04-04 14:25 UTC1.3.1 newer than bounds+15/−6 lines, 3 filesPVP ok
2025-01-06 04:03 UTC1.3.0 newer than bounds+2410/−538 lines, 16 filesdep +data-array-bytedep ~basedep ~transformersPVP ok
2024-12-14 20:31 UTC1.2.1.3+22/−37 lines, 3 filesdep −doctestdep −mwc-randomdep −unliftiodep ~basedep ~containersdep ~primitivePVP ok
2024-02-04 16:26 UTC1.2.1.2+17/−12 lines, 2 filesdep ~doctestdep ~tastyPVP: major bump suggested
2022-05-09 02:32 UTC1.2.1.1+8/−9 lines, 3 filesdep −ghc-byteorderdep ~bytestringdep ~doctestdep ~mtlPVP ok

showing 5 of 15 versions

stm >=2.5 && <3 2.5.3.0 → 2.5.3.1
2024-04-12 15:34 UTC2.5.3.1+7/−3 lines, 3 filesdep ~basePVP: major bump suggested
2023-11-17 23:47 UTC2.5.3.0+222/−123 lines, 6 filesPVP: major bump suggested
2023-10-06 15:16 UTC2.5.2.1 deprecated+11/−5 lines, 3 filesPVP ok
2023-10-05 21:19 UTC2.5.2.0 deprecated+258/−270 lines, 9 filesdep ~basePVP: major bump suggested
2022-08-04 22:51 UTC2.5.1.0+42/−5 lines, 5 filesdep +semigroupsdep ~basePVP ok

showing 5 of 24 versions

tasty >=1.4 && <2 1.5.4 → 1.5.5
2026-10-20 23:13 UTC1.5.5+53/−26 lines, 7 filesdep +terminal-sizePVP ok
2026-03-25 20:04 UTC1.5.4+332/−166 lines, 22 filesdep −semigroupsPVP ok
2025-01-05 19:52 UTC1.5.3+36/−11 lines, 3 filesdep ~containersdep ~optparse-applicativePVP: major bump suggested
2024-11-03 00:34 UTC1.5.2+22/−5 lines, 4 filesdep ~basePVP ok
2024-06-22 10:14 UTC1.5.1 deprecated+131/−63 lines, 10 filesdep ~basePVP: major bump suggested

showing 5 of 76 versions

tasty-hunit >=0.10 && <1 0.10.1 → 0.10.2
2024-06-22 10:14 UTC0.10.2+15/−7 lines, 4 filesPVP ok
2023-09-10 00:12 UTC0.10.1+30/−52 lines, 5 filesdep ~basedep ~call-stackdep ~tastynew-uploaderPVP ok
2020-12-18 09:42 UTC0.10.0.3+55/−10 lines, 4 filesdep ~basePVP ok
2019-05-15 05:50 UTC0.10.0.2+38/−8 lines, 3 filesdep ~tastyPVP: major bump suggested
2017-12-01 19:24 UTC0.10.0.1+51/−29 lines, 4 filesPVP: major bump suggested

showing 5 of 15 versions

testcontainers >=0.5 && <0.6 0.5.3.0 → 0.5.4.0
2026-07-06 13:29 UTC0.5.4.0+97/−48 lines, 6 filesdep ~tasty-hspecPVP ok
2026-03-31 12:39 UTC0.5.3.0+128/−98 lines, 5 filesdep +scientificdep +vectordep −aeson-opticsdep −optics-corePVP ok
2025-08-28 19:15 UTC0.5.2.0+170/−51 lines, 7 filesdep ~networknew-uploaderPVP: major bump suggested
2025-01-15 11:45 UTC0.5.1.0+199/−59 lines, 11 filesdep ~bytestringdep ~networkdep ~tasty-discoverPVP: major bump suggested
2023-02-20 16:16 UTC0.5.0.0+72/−75 lines, 10 filesdep ~networkdep ~tastyPVP ok

showing 5 of 11 versions

text >=1.2 && <3 2.1.4 → 2.1.5
2026-11-27 23:30 UTC2.1.5+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

time >=1.9 && <2 1.16 → 1.16.0.1
2026-07-20 21:55 UTC1.16.0.1+1203/−148 lines, 25 filesPVP ok
2026-05-03 08:43 UTC1.16+353/−64 lines, 29 filesdep +template-haskell-liftdep ~template-haskellPVP ok
2025-08-04 16:22 UTC1.15+1407/−743 lines, 56 filesdep ~basedep ~deepseqdep ~template-haskellPVP ok
2024-03-10 22:18 UTC1.14+6594/−5536 lines, 73 filesdep +template-haskelldep ~basePVP ok
2021-10-18 05:36 UTC1.13 deprecated+1279/−1589 lines, 59 filesdep ~basePVP ok

showing 5 of 48 versions

unliftio >=0.2 && <0.3 0.2.25.0 → 0.2.25.1
2025-03-10 08:59 UTC0.2.25.1+11/−11 lines, 4 filesPVP: major bump suggested
2023-06-16 04:22 UTC0.2.25.0+111/−1 lines, 3 filesPVP ok
2023-02-28 09:14 UTC0.2.24.0+11/−2 lines, 3 filesPVP ok
2022-10-27 15:19 UTC0.2.23.0+32/−70 lines, 3 filesdep +safe-exceptionsPVP: major bump suggested
2022-04-26 14:58 UTC0.2.22.0+11/−4 lines, 3 filesdep ~stmPVP ok

showing 5 of 33 versions

unordered-containers >=0.2 && <0.3 0.2.21 → 0.2.21.1
2026-11-30 10:13 UTC0.2.21.1+533/−177 lines, 9 filesPVP: major bump suggested
2025-12-13 23:09 UTC0.2.21 deprecated HSEC-2026-0018+3999/−2731 lines, 20 filesdep −mtldep ~basedep ~bytestringdep ~deepseqPVP: major bump suggested
2025-10-02 07:28 UTC0.2.20.1 deprecated HSEC-2026-0018+106/−52 lines, 12 filesPVP: major bump suggested
2024-01-09 06:48 UTC0.2.20 deprecated HSEC-2026-0018+1023/−941 lines, 12 filesdep ~hashabledep ~template-haskellPVP: major bump suggested
2022-04-24 15:48 UTC0.2.19.1 deprecated HSEC-2026-0018+88/−14 lines, 4 filesdep ~basedep ~template-haskellPVP: major bump suggested

showing 5 of 44 versions

uuid >=1.3 && <2 1.3.16 → 1.3.16.1
2026-04-15 16:27 UTC1.3.16.1+9/−9 lines, 1 filesdep −textdep ~randomdep ~timePVP: major bump suggested
2024-07-03 09:39 UTC1.3.16+28/−26 lines, 5 filesdep ~QuickCheckdep ~basedep ~binaryPVP: major bump suggested
2021-05-03 07:42 UTC1.3.15+6/−2 lines, 2 filesdep ~bytestringdep ~tastydep ~textPVP ok
2021-02-17 09:38 UTC1.3.14+554/−573 lines, 20 filesdep −HUnitdep −criteriondep −mersenne-random-pure64dep ~QuickCheckdep ~basedep ~binarynew-uploaderPVP: major bump suggested
2016-12-17 19:30 UTC1.3.13+235/−225 lines, 8 filesdep +cryptohash-md5dep +cryptohash-sha1dep +entropydep −cryptonitedep −memorydep ~QuickCheckdep ~basedep ~bytestringPVP ok

showing 5 of 40 versions

vector >=0.12 && <1 0.13.1.0 → 0.13.2.0
2024-10-31 18:01 UTC0.13.2.0+5177/−672 lines, 53 filesdep −HUnitdep ~QuickCheckdep ~basedep ~doctestPVP: major bump suggested
2023-10-07 13:35 UTC0.13.1.0+302/−238 lines, 22 filesdep ~QuickCheckdep ~basedep ~doctestnew-uploaderPVP: major bump suggested
2022-06-19 19:35 UTC0.13.0.0+19079/−19259 lines, 70 filesdep +tasty-benchdep +tasty-inspection-testingdep +vector-streamdep −faildep −ghc-primdep −semigroupsdep ~basedep ~doctestdep ~primitivePVP ok
2021-09-21 16:21 UTC0.12.3.1+265/−191 lines, 13 filesdep ~basedep ~deepseqdep ~doctestPVP ok
2021-04-06 19:54 UTC0.12.3.0+1218/−39 lines, 11 filesdep ~basedep ~ghc-primPVP ok

showing 5 of 43 versions

Reverse dependencies

no known reverse dependencies