libpqxx is a C++ client API for PostgreSQL.