PostgreSQL Extensions in Go
82 points by valyala 4 hours ago | 7 comments
QGQBGdeZREunxLe 2 hours ago
From the same author: https://jespino.github.io/gokm/ (Linux kernel modules in Go)
reply3eb7988a1663 3 hours ago
The Go community sold me on the necessity of programming mascots. The gopher is adorable, and I love seeing the creative tweaks for how people incorporate it into their marketing.
replyFerris the crab also seems like it has been around since the early days, but I do not see nearly as many projects with crab heavy media. Guess it also has to be a mammal.
Icathian 14 minutes ago
Okay now this is cool. Anything to make postgres extensions nice and easy to write.
replyStill gonna go with pgrx though.
ltbarcly3 2 hours ago
LLMs make "I need to shoehorn a language I already know well into an environment where it doesn't really belong" an unnecessary extravagance.
replyJust have an AI write plpgsql. If what you are doing is too complicated for plpgsql you are doing something stupid.
dapperdrake 12 minutes ago
Then you will love plv8.
replyLoad an entire Chrome V8 or NodeJS V8 into Postgres to have JS pg modules.
JS now runs on phones, on web servers, and inside your postgres relational database. Add Mongo and vibe code JS for redis or memcached for bonus internet points.
If Rust is rewritten in JS, then Bun can finally return to its roots.
END half satire (plv8 is real, though)