gopgext lets you write PostgreSQL extensions in pure Go
PostgreSQL Extensions in Go

gopgext compiles plain Go code into PostgreSQL extensions using TinyGo, automatically generating the C glue, install script, and control file. Functions marked with //gopgext:function become SQL functions, with full standard library support and direct type mapping. Ports of contrib modules like pgcrypto and hstore pass upstream regression tests. It's experimental and unsafe for production, but it handles triggers, aggregates, index access methods, and foreign data wrappers.
Experimental gopgext is experimental. Don’t use it in production: a bug in the generated code or the Go runtime runs inside the server, where it can crash it or corrupt data, and the API and generated SQL may change without notice.
- 3eb7988a1663
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.
Ferris 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.
- QGQBGdeZREunxLe
From the same author: https://jespino.github.io/gokm/ (Linux kernel modules in Go)
- Wicher
See also https://gitlab.com/microo8/plgo