pgstream is a C++ front-end library for pgsql-7.4 or newer, mainly aimed at providing an easy C++ stream-based API to exchange data with the pg server