HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
microsoft
pg_durable
Rust2026–2026
microsoft / pg_durable

pg_durable

PostgreSQL in-database durable execution

4Distinct people
4Mentions
0Explicit recommenders
2.8KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

PostgreSQL in-database durable execution

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:54:37 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour4 dated mentions

Observed mentions: 2026-06-05 15:59:57 UTC to 2026-06-05 20:07:28 UTC.

012026-06-05 15:00:00 UTC to 2026-06-05 16:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJun 5, 15:002026-06-05 16:00:00 UTC to 2026-06-05 17:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-06-05 17:00:00 UTC to 2026-06-05 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJun 5, 17:002026-06-05 18:00:00 UTC to 2026-06-05 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-06-05 19:00:00 UTC to 2026-06-05 20:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-06-05 20:00:00 UTC to 2026-06-05 21:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 5, 20:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jun 5, 15:002026-06-05 15:00:00 UTC2026-06-05 16:00:00 UTC110
Jun 5, 16:002026-06-05 16:00:00 UTC2026-06-05 17:00:00 UTC101
Jun 5, 17:002026-06-05 17:00:00 UTC2026-06-05 18:00:00 UTC000
Jun 5, 18:002026-06-05 18:00:00 UTC2026-06-05 19:00:00 UTC000
Jun 5, 19:002026-06-05 19:00:00 UTC2026-06-05 20:00:00 UTC101
Jun 5, 20:002026-06-05 20:00:00 UTC2026-06-05 21:00:00 UTC101

What Hacker News says

4 sources
Hi there! PM from the PG AI team, working on both pg_durable and the AI pipeline layer. ai.backfill() ignores that row-level state entirely and reprocesses everything from scratch. https://learn.microsoft.com/en-us/azure/horizondb/ai/ai-pipe... pg_durable answers "did this workflow instance finish, and if it crashed, where do I resume?", completed/running/pending/failed per node + checkpoint replay. https://github.com/microsoft/pg_durable/blob/main/USER_GUIDE... If you want this problem addressed better, please add an issue to the open-source repo, we would love to dig in. https://github.com/microsoft/pg_durable/issues
In pg_durable: Microsoft open sources in-database durable execution
A few things are not clear to me from reading through docs and examples: df.wait_for_schedule() How does this call work? Is it idempotent if I call it from an application? If I run it 2x with the same parameters, does it double tick? Am I invoking this manually from a query console to only do this one time? Am I running this as part of a migration script? For this[0]: -- Wait for human signal (5 minute timeout) ~> (df.wait_for_signal('approval', 300) |=> 'sig') ~> df.if( $$SELECT NOT ($sig::jsonb->>'timed_out')::boolean AND ($sig::jsonb->'data'->>'approved')::boolean$$, Is the `timed_out` a fixed constant that is returned on timeout? Also not immediately clear: how to handle errors/exceptions? [0] https://github.com/microsoft/pg_durable/blob/main/examples/i...
In pg_durable: Microsoft open sources in-database durable execution
I aggree - I'm not understanding the value of the project either if you look at the example here https://github.com/microsoft/pg_durable/blob/main/examples/i... It's an interesting technical achievement I guess, but it's very bizarre to try and read this SELECT df.start( @> ( ($$SELECT ... FROM demo.invoices WHERE status = 'pending'$$ |=> 'inv') ~> df.if_rows('inv', $$UPDATE ... SET status = 'processing'$$ ~> (df.http(...) |=> 'resp') ~> df.if($$SELECT $r.ok$$, -- classify, branch, wait for signal ... ), df.sleep(5) ) ), 'invoice-approval-pipeline' );
In pg_durable: Microsoft open sources in-database durable execution

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.