Skip to content

PgQue docs

Documentation for PgQue, the zero-bloat Postgres queue: a hands-on tutorial, operations guides, a function reference, and the concepts behind the design, plus a contributor primer.

Build contract. The documentation on the main branch and pgque.dev describes the in-development SQL in devel/sql/. For the latest stable build, open the latest stable release and use its tagged README and sql/pgque.sql. A release promotion copies the tested artifacts into sql/, switches documentation install and source paths from devel/sql/ to sql/ (with source links pinned to the release tag), and removes this development-build notice before tagging.

Get started

  • Tutorial — a hands-on walkthrough. Send, tick, receive, retry, DLQ, observability. Start here if you are new.

Guides

Reference

  • Function reference — the public SQL surface, return types, behavior, and role grants in the development install.

Explanation

  • Latency and tick tuning — how ticks shape end-to-end delivery latency, choosing tick_period_ms, and idle backoff.
  • Concepts and heritage — the core vocabulary (event, batch, tick, rotation, ticker rule) and where PgQue comes from.

For the full specification and implementation plan, see blueprints/SPECx.md. For what ships in the default install versus what is experimental, see blueprints/PHASES.md.