{"repo":"microsoft/pg_durable","free":true,"listed":false,"github":"https://github.com/microsoft/pg_durable","clone":"git clone https://github.com/microsoft/pg_durable.git","description":"PostgreSQL in-database durable execution","language":"Rust","stars":2772,"topics":["durable-execution","durable-functions","durable-workflows","postgresql","ai-pipelines","ai-workflows"],"license":null,"category":"databases-storage","readme_excerpt":"Website · Docs · Quick Example · GitHub Durable Execution inside PostgreSQL Long-running, fault-tolerant SQL functions for teams that already keep their state in Postgres and want to stop stitching together cron jobs, workers, queues, and status tables to make background work reliable. Define the workflow in SQL, let pg durable checkpoint each step, and resume after crashes, restarts, or failed steps. Durable execution is now a standard industry pattern, and pg durable brings it inside Postgres with no extra service infrastructure required. Part of our mission to bring compute close to data. Try pg durable now in Azure HorizonDB , Microsoft's new PostgreSQL cloud service engineered for performance and built with pg durable inside Is this for me? Who it's for - Backend and data engineers who want workflows to live next to the data they touch. - DBAs and SREs automating runbooks that must survive restarts and be auditable in SQL. - Teams building data or AI pipelines that need durable execution per row, document, or batch. The core idea A pg durable function is a graph of SQL steps that PostgreSQL executes and checkpoints as it goes. If the database crashes, restarts, or a step fails, execution resumes from the last durable checkpoint instead of making you reconstruct state by hand. Workloads this is useful for - Vector embedding pipelines: chunk, call an embedding API, and upsert into pgvector . - Ingest pipelines: stage, deduplicate, transform, and publish large batches. - Sc","default_branch":null,"files":null,"tree":[],"storefront":"/r/microsoft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/microsoft/pg_durable/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}