So I'd start with a query('begin') to start my transaction?

This is fine, I was just nervous that I didn't have access to rollback (and
that everything would be autocommitting).

-Tim


On Fri, Oct 16, 2009 at 1:05 PM, Christoph Zwerschke <[email protected]> wrote:

> Tim Callaghan schrieb:
>
>> I'm using the DB wrapper class of the classic postgres interface (pg), I
>> don't see anything in the documentation regarding how to implement
>> transactions (commit/rollback).  Am I missing something?
>>
>
> You must use query('commit') and query('rollback') here.
>
> -- Christoph
> _______________________________________________
> PyGreSQL mailing list
> [email protected]
> http://mailman.vex.net/mailman/listinfo/pygresql
>
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to