[HN Gopher] Making Postgres Distributed with FoundationDB
___________________________________________________________________
Making Postgres Distributed with FoundationDB
Author : emptysea
Score : 23 points
Date : 2025-05-23 13:32 UTC (9 hours ago)
(HTM) web link (fabianlindfors.se)
(TXT) w3m dump (fabianlindfors.se)
| fabianlindfors wrote:
| This is my project, thanks a lot for posting! If anybody happens
| to have questions, I'm happy to answer them
| dev-ns8 wrote:
| Super interesting project! I have zero experience writing
| Postgres extensions, but I was browsing a blog post about an
| extension the other day. I was curious what ones workflow
| looked like while developing a PG extension. From the little I
| read, it looked like you would have to recompile postgres,
| including your extension, then enable it just to run it. Seems
| like a very long feedback loop. Was I missing something?
| fabianlindfors wrote:
| Glad you like it!
|
| You don't need to recompile it actually! It's enough to
| compile your extension and Postgres can then dynamically link
| to it, which makes for a perfectly good feedback loop. pgfdb
| is built with pgrx:
| https://github.com/pgcentralfoundation/pgrx, which is a
| framework for building Postgres extensions in Rust that
| handles all the compiling and linking for you. Highly
| recommend that if you want to try writing extensions and are
| also a fan of Rust!
___________________________________________________________________
(page generated 2025-05-23 23:02 UTC)