Comparison of C++ postgresql database interface library
libpqxx, very modern C++ interface, but as of version 2.6.9, it has serious threading issue
soci, somewhat strange interface design, supports multiple database serrvers, good performance.
Thinking? At last I have discovered it--thought; this alone is inseparable from me. I am, I exist--that is certain. But for how long? For as long as I am thinking. For it could be, that were I totally to cease from thinking, I should totally cease to exist....I am, then, in the strict sense only a thing that thinks.