Medi Montaseri <medi(dot)montaseri(at)intransa(dot)com> writes:
> How do I prepare an statement in C context, ie which libPQ function
> does that
Prepared statements are currently implemented as SQL-level
constructs, so there's no specific libpq function for it.
http://developer.postgresql.org/docs/postgres/sql-prepare.html
http://developer.postgresql.org/docs/postgres/sql-execute.html
http://developer.postgresql.org/docs/postgres/sql-deallocate.html
Cheers,
Neil
--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC