Jul 19, 2026 · 16 min · 9 segments
In this episode of Scaling Postgres, we discuss the progress of the Rust rewrite of Postgres called pgrust, more about the backup tool pg\_hardstorage, beware listen / notify and how to fix bad SQL…
Creston JamisonHost
Our first piece of content is the four horsemen behind thousands of Postgres outages.

This is from malicebird.me. And of course, this is a click baity title, but these are some of the things he sees and suggests he wants to change or fix in PGRust.

and transaction id wrap around is a definite concern as your database grows because we're still using 32-bit transaction ids and i can only assume he's going to be using 64-bit and his intent is to change how rollbacks happen and use an undo log like oracle does probably to avoid having to vacuum the heap.

They are not present yet, presumably because he has to get the regression tests passing.


But basically, he's going to be using a thread-based model, and he says this was architected from day one with it.

And he says even though the process model is safer, Rust provides safety guarantees for these threads, so it should be fine.

But again, this is all forward-facing that he wants to do with pgrust, as he wants to build an adaptive query planner.

and that if a query normally takes 10 milliseconds, suddenly takes 10 seconds, PGRust would detect the regression, check if the plans changed, or check if the statistics drifted and make a correction.

I'm not saying it would be easy, but I could see how that feature could be added.

Next, he talks about JSON and the fact it does not collect statistics, and that's something he wants to do.


Our first piece of content is the four horsemen behind thousands of Postgres outages.

This is from malicebird.me. And of course, this is a click baity title, but these are some of the things he sees and suggests he wants to change or fix in PGRust.

and transaction id wrap around is a definite concern as your database grows because we're still using 32-bit transaction ids and i can only assume he's going to be using 64-bit and his intent is to change how rollbacks happen and use an undo log like oracle does probably to avoid having to vacuum the heap.

They are not present yet, presumably because he has to get the regression tests passing.


But basically, he's going to be using a thread-based model, and he says this was architected from day one with it.

And he says even though the process model is safer, Rust provides safety guarantees for these threads, so it should be fine.

But again, this is all forward-facing that he wants to do with pgrust, as he wants to build an adaptive query planner.

and that if a query normally takes 10 milliseconds, suddenly takes 10 seconds, PGRust would detect the regression, check if the plans changed, or check if the statistics drifted and make a correction.

I'm not saying it would be easy, but I could see how that feature could be added.

Next, he talks about JSON and the fact it does not collect statistics, and that's something he wants to do.

Every episode on Radar is fully transcribed, speaker-labeled, and rich with metadata. Here is a taste of this one. Try Radar for free to see the rest.
7 of 14
The rest of this transcript — segmented and speaker-labeled, so you land on the exact moment something was said
All 9 segments — the transcript broken into labeled sections, every ad read marked
All 14 topics — jump to every other episode discussing the same subject
Every related episode — other shows Radar links to this one
No account is needed to search Radar.