There was an example of using libpq with C in Bruce's book:
http://www.postgresql.org/docs/awbook.html
it was chapter 17, section 1, but it might have changed.
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
----- Original Message -----
From: "Mulcahy, Chris" <cmulcahy@vivius.com>
To: <pgsql-general@postgresql.org>
Sent: Wednesday, November 01, 2000 2:28 PM
Subject: [GENERAL] Sample Program
> Greetings:
>
> I have so far been unsuccessful in my searches. Does someone have a very
> small sample of a C/C++ program to read some data out of a Postgresql
> database and insert a new record?
>
> Any help appreciated.
>
> Thanks
> Chris
>