On Friday, November 26, 2010 02:59:39 pm Jacek Kałucki wrote: > Użytkownik Ed Leafe napisał: > > On Nov 26, 2010, at 5:29 PM, Jacek Kałucki wrote: > >>> I believe that issuing a second 'BEGIN' will not harm anything, > >>> although it may generate a warning. > >> > >> Problem is, there is no BEGIN at all before COMMIT. > >> > > There is *supposed* to be an implicit BEGIN every time a SELECT, INSERT, > > UPDATE, etc., is issued. I don't know why that's not happening in your > > case. > > I can sell you patch that fixes this issue, just for virtual beer :) > http://dabo.codepad.org/l3BmaHMa > > It looks like transaction commands issued separately affect > psycopg transaction support mechanism with commit() and rollback() methods. self.rollbackTransaction(cursor)
I'm confused how does that change anything? Johnf --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
