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

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

From
Germán Aracil Boned
Date:
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 !