pg_durable: Microsoft open sources in-database durable execution
Contribute to microsoft/pg_durable development by creating an account on GitHub.
AI Summary
pg_durable is a PostgreSQL extension that enables long-running, fault-tolerant SQL functions by checkpointing each step, so execution resumes from the last durable state after crashes or restarts—no external orchestrators needed. It targets backend engineers, DBAs, and teams building data or AI pipelines who want reliable background workflows (e.g., embedding pipelines, scheduled maintenance, fan-out aggregation) defined entirely in SQL. This eliminates the common pattern of stitching together cron jobs, queues, status tables, or external tools like Airflow or Temporal to manage retries and partial completion.








