[PyGreSQL] commit/rollback?
Tim Callaghan
tmcallaghan at gmail.com
Fri Oct 16 13:11:53 EDT 2009
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 <cito at online.de> 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
> PyGreSQL at Vex.Net
> http://mailman.vex.net/mailman/listinfo/pygresql
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.vex.net/pipermail/pygresql/attachments/20091016/96acccb6/attachment.htm>
More information about the PyGreSQL
mailing list