Skip to main content

Go · Rust · TypeScript · SQL

Message queues
on PostgreSQL

PostgreMQ provides worker queues and publish/subscribe with messages and delivery state stored in PostgreSQL. It installs as a SQL schema, with no PostgreSQL extension or separate queue server required.

Open source · MIT license

Queues and delivery

Delayed messages set the earliest delivery time. Handler and stream consumers support batching, automatic visibility extension, and graceful shutdown.

Client APIs

Use Go, Rust, or TypeScript clients, or call the SQL functions directly. The guides cover publishing, consuming, and queue configuration, with examples in each language.

Developer and administration guides →API reference →

Running PostgreMQ

Message durability depends on your PostgreSQL deployment. Schedule queue maintenance and plan database capacity, monitoring, and backups alongside your application workload.

PostgreMQ is not an AMQP endpoint or a retained event log with rewindable consumer offsets.

Installation →Deployment planning →Compatibility →