Writing PostgreSQL Extensions in C is Fun — It depends on your definition of fun but it’s not quite as difficult as I’d assumed. This post walks through the basic steps to get started. I also think reading the code of simple, but complete, extensions such as count_distinct is useful if you wish to pursue this.
Appears in lists (1)
More like this (3)
Retroactively Adding Binary I/O to a Type in Postgres
Porting a Postgres Extension from Unix to Windows 10 — Building your own Postgres extension from...
Building Faster, Lightweight Trigger Functions in C — Trigger functions/procedures (functions that run automatically when certain...