PgQue
PgQue copied to clipboard
PgQue – Zero-bloat Postgres queue built on top of on battle-proven Skype's PgQ. One SQL file to install, pg_cron to tick https://pgque.dev
## Problem Driver `Message` types assume `type` and/or `payload` are always non-null strings, but PgQue/PgQ low-level primitives can produce nullable `ev_type` / `ev_data` rows. Examples: - Go: `Message.Type string`, `Message.Payload...
Hello, would it be possible to implement idempotency keys on queue jobs, so that the same send within a timeframe results in a no-op? Happy to raise the a PR...
## Severity High — correctness / duplicate processing. ## Problem `pgque.release_slot()` clears the current worker's lease without checking whether the slot subscription still has an open batch. A second worker...
## Severity Medium-high — producer idempotency correctness. ## Problem `pgque.send_idem()` uses transaction-stable `now()` for both the claim expiry and conflict predicate. In a transaction older than the requested TTL, a...
## Severity High — v0.2.0 upgrade compatibility / stranded consumers. ## Problem PgQue 0.2.0 allowed ordinary consumer names containing `#`. The 0.3 development build treats *any* `#` name as an...
## Severity Medium-high — silent message-history loss for a partitioned consumer. ## Problem `subscribe_slot(queue, consumer, slot, n)` creates only one engine subscription per call. If a producer sends/ticks events before...
## Severity High — release blocker for existing pg_tle users. ## Problem The README advertises `ALTER EXTENSION pgque UPDATE`, but the generated pg_tle wrapper rejects registration when any other version...
## Severity Medium — worker liveness / head-of-line blocking. ## Problem The partition-key contract says a busy `claim_slot` returns `NULL` so a worker can immediately try another slot. The implementation...
## Severity Medium — documented public API does not resolve. ## Problem The partition-key and idempotency specs document named-argument calls, and the existing PgQue API treats argument names as part...
## Severity Critical release blocker. ## Problem Ruby package versions are independent from PgQue SQL/server versions, but the Ruby publish workflow invokes Bundler's `rake release`, which creates and pushes the...