Hacker News new | ask | show | jobs
by ccleve 891 days ago
The code here is really well designed. This project can serve as a tutorial on how to build a Postgres extension. Have a look at this:

https://github.com/buzzm/postgresbson/blob/main/pgbson--2.0....

and this:

https://github.com/buzzm/postgresbson/blob/main/pgbson.c

Really nice stuff.