On Sun, Mar 06, 2005 at 09:08:07PM -0700, Michael Fuhr wrote:
> On Wed, Mar 02, 2005 at 06:46:10PM +0100, GMX wrote:
>
> > I need a C-program that goes something like this:
>
> Why the requirement to use C? Many tasks are easier in and can be
> adequately written with higher-level languages like Perl, Python,
> Ruby, Tcl, etc.
If you must use C, see the libpq or ECPG documentation. Here are
links to the relevant chapters for the latest version of PostgreSQL:
http://www.postgresql.org/docs/8.0/interactive/libpq.html
http://www.postgresql.org/docs/8.0/interactive/ecpg.html
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/