Queues: update pgmq beyond 1.5.1 (FIFO groups, NOTIFY, topic routing) #54448
Unanswered
martijn00
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The Supabase Postgres image ships pgmq 1.5.1 as its newest version (1.4.4 on Postgres 15 only).
nix/ext/versions.jsonondevelopof supabase/postgres lists exactly those two. pgmq itself is at 1.13.2 (2026-11-18), and the releases in between add features that Queues users would reach for:NOTIFYon insert, so a consumer can wait for a message instead of polling.x-pgmq-groupheader are read in order (read_grouped,read_grouped_rr,read_grouped_head) while other groups run in parallel. That gives per-customer or per-tenant ordering without one queue per key.The last upgrade, 1.4.4 to 1.5.1, needed a changelog entry and a pause for existing projects because 1.5 changed the
delayparameter (discussion #39378), so it makes sense that the next one is deliberate. Today, though, there is no public signal of whether or when it will happen.Ask
alter extension pgmq updateavailable to existing projects.pgmq_publicwrappers for the grouped reads and forsendwith headers, so Data API consumers get them too, next to the missingset_vt(Queues: add a pgmq_public.set_vt wrapper so Data API consumers can extend or delay a message #54363).Our case
We run background jobs on Supabase Queues in a multi-tenant app and process jobs per tenant. FIFO groups would let one queue keep each tenant's jobs in order while different tenants run in parallel. On 1.5.1 that needs either a queue per tenant or ordering logic in our own tables.
All reactions