I like the idea of JDBC for Java and DB-API for Python, which both provide uniform APIs for accessing different relational database management systems.
What is it like in C?
Is there uniform API in C for different RDBMS'?
I haven't found one, or I might miss it. Is such an effort successful? POSIX doesn't seem to define a uniform API to access RDBMS'.
Thanks.
Note: I tried to read about libpq in C for postgresql, but felt the postgresql-specific API was complex, compared to JDBC and DB-API. I haven't checked the sqlite-specific or mysql-specific API yet, but expect them not similar to the one by libpq.