The examples in this chapter assume that you have installed and configured the unixODBC or iODBC driver manager. I'll also assume that you have installed the PostgreSQL ODBC driver and created an ODBC data source.

Most of the examples in this chapter were developed with the GNU C/C++ compiler and GNU make. The final example uses the Qt library described in Chapter 10, "The PostgreSQL C++ API?libpq++."

    Part II: Programming with PostgreSQL