PostgreSQL Extensions in Go
|
Gopgext is an experimental tool that enables developers to write PostgreSQL extensions using plain Go code, automatically generating the necessary C glue, installation scripts, and control files from functions marked with special comments. The project supports a wide range of PostgreSQL features including triggers, indexes, and foreign data wrappers, with its approach validated through successful ports of PostgreSQL contrib modules. However, it remains experimental and unsuitable for production use due to potential risks from bugs that could crash the server or corrupt data.