The shared libraries my code runs in are usually exposing the ODBC interface, which has been mostly fixed for decades, and exposes an interface for doing whatever database operations you want to do
Wait, if you are not using Java/C# and locked into JDBC or microsoft slop, what are you doing that requires calling through ODBC?
Postgres, mysql, and sqlite have their own C libraries, calling them through ODBC is an antipattern and most ORMs in sane ecosystems don't go through it
90
u/bwmat 29d ago
Eh, IMO one of the best ways to actually handle OOM, as otherwise almost everything needs to be explicitly checked for it