how to create an insert query from PGresult (libpq-fe.h)

From: Germán Aracil Boned <german(at)tecnoxarxa(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: how to create an insert query from PGresult (libpq-fe.h)
Date: 2006-06-01 00:50:17
Message-ID: 447E39C9.2020403@tecnoxarxa.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

Please, how I can create an insert (dynamic?) query from a PGresult
struct (libpq-fe.h) ? I create this PGresult with a PQexec(..SELECT *
FROM table..

and update ?

Any sample ?

thanks to all !

Browse pgsql-general by date

  From Date Subject
Next Message Greg Sabino Mullane 2006-06-01 02:00:09 Re: UTF-8 context of BYTEA datatype??
Previous Message Joshua D. Drake 2006-05-31 22:59:04 Re: Lossy character conversion to Latin-1