gopgext — PostgreSQL extensions in Go
Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.
gopgext, an experimental open-source tool, now lets developers write PostgreSQL extensions entirely in Go and compile them with TinyGo, automatically generating the C glue, install script and control file from functions marked with a `//gopgext:function` annotation. Ports of PostgreSQL contrib modules including pgcrypto, hstore, pg_stat_statements and cube pass upstream regression tests, and multiple Go extensions can load in one backend without PostgreSQL errors unwinding through Go frames. It follows the same approach as sibling project gokm, which builds Linux kernel modules from Go. Watch for the API stabilizing and for production adoption beyond the contrib test ports.
Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.
Named in this story
gopgext, PostgreSQL, Go, TinyGo