Hi!
I have a question about how transaction behaves in libpq library.
It is very clear in doc that PQexec treats each command (which could
comprise of more than one sql command) as a single transactions.
Does PQexecParams() and PQexecPrepared() also behaves the same?
Is there a way to send multiple sql commands separately through
libpq library and rollback if nth command fails. For example, Can I
insert 5 rows using PQexecParams() and rollback all 5 rows if
sixth insert fails?
Regards,
Brijesh