pg_background: Make Postgres do the long work (while your session stays light)
That’s the promise of pg_background: execute SQL asynchronously in background worker processes inside PostgreSQL, so your client session can move on—while the work runs in its own transaction.
v1.6 (released Feb 5, 2026): production stabilization + v2 API becomes the starThis release explicitly positions itself as “stabilizes pg_background for production use” and introduces the recommended v2 API with cookie-based worker handles.
Remember: detach ≠ cancel.
Observability prevents “mystery background gremlins.”Closing thoughtThe best infrastructure is the kind that quietly does the work and refuses to be dramatic.
and I’ll suggest a production-ready pattern with guardrails using the v2 API.
1 час назад @ vibhorkumar.wordpress.com
infomate
