how to create an insert query from PGresult (libpq-fe.h) - Mailing list pgsql-general

From Germán Aracil Boned
Subject how to create an insert query from PGresult (libpq-fe.h)
Date
Msg-id 447E39C9.2020403@tecnoxarxa.com
Whole thread Raw
List 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 !

pgsql-general by date:

Previous
From: Craig White
Date:
Subject: command line
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: UTF-8 context of BYTEA datatype??