Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You might want to see if the code for the postgres-simple library can be ported to use those other databases c libs rather than the libpostgres one.

Reasons: in the context of Postgres, the above lib allows you to do full sql with proper escaping of parameters and also is extensible with respect to defining how to serialize values to and from the db side representation.

Full disclosure: I'm using that lib because it's the only one that lets me exploit postgres' geometry functionality while still using a rich query api thats type safe



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: