[DB-SIG] Transaction start

Gerhard Häring haering_postgresql@gmx.de
Sat, 25 May 2002 06:17:31 +0200

The DB-API Connection object has commit and rollback methods, but it
lacks a begin method.

Not considering the implementation of an autocommit feature, does this
mean that the DB-API module must implicitely start, and possibly roll
back transactions at certain points?

I guess a cursor.execute must start a new transaction, where else must a
transaction be started? Could anybody please clarify this?


mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9  3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))