Back in October 2007, I wrote an article about PostgreSQL, C++ and the lack of binary data and wrappers.
I stand corrected. On two counts. The first is binary access. After looking through the PostgreSQL API, I see that I can indeed get binary data into and out of a database easily. The C based library, libpq, has an API call named PQexecParams which allows full separation of binary values from the query statement. This is a good step towards preventing SQL injection attacks. Continue reading "Open Source Site of the Day -- SOCI: The C++..." »