public inbox for pgsql-announce@postgresql.org  
help / color / mirror / Atom feed
From: PostgresAI via PostgreSQL Announce <announce-noreply@postgresql.org>
To: PostgreSQL Announce <pgsql-announce@lists.postgresql.org>
Subject: PgQue v0.1 - Zero-bloat Postgres queue
Date: Sat, 02 May 2026 08:33:06 +0000
Message-ID: <177771078649.801.16311894241270361703@wrigleys.postgresql.org> (raw)

PgQue v0.1 has been released.

PgQue is a zero-bloat Postgres event/message queue implemented in pure SQL and PL/pgSQL. It brings the PgQ architecture, originally developed at Skype, to modern Postgres environments, including managed Postgres platforms where PgQ is not included in the list of supported extensions.

PgQue uses snapshot-based batching and table rotation instead of SKIP LOCKED plus DELETE/UPDATE hot paths. This avoids the dead tuples, VACUUM pressure, index bloat, and performance drift that many in-database queues hit under sustained load.

Highlights:

- Pure SQL / PL/pgSQL install: one SQL file, no C extension
- Works on PostgreSQL 14-18
- Designed for managed Postgres: RDS, Aurora, Cloud SQL, AlloyDB, Supabase, Neon, and similar platforms
- Zero bloat in the main queue path by design
- Multiple independent consumers over a shared event log
- Built-in retry handling and dead-letter queue support
- Optional pg_cron integration for ticking (recommended), or use an external scheduler

PgQue is best suited for durable event streams and message queues inside Postgres where stability under sustained load matters more than single-digit-millisecond dispatch latency. The default design typically delivers events in the 1-2 second range, while the SQL function calls themselves remain lightweight.

Repository and documentation:

<https://github.com/NikolayS/pgque;

Discussion on Hacker News:

<https://news.ycombinator.com/item?id=47817349;

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-announce@postgresql.org
  Cc: announce-noreply@postgresql.org, pgsql-announce@lists.postgresql.org
  Subject: Re: PgQue v0.1 - Zero-bloat Postgres queue
  In-Reply-To: <177771078649.801.16311894241270361703@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox