def transaction(self, name = None):
        assert(self.dbh)
        c = self.cursor()
        if name:
            if not self.inTransaction():
                c.execute(self.basic_transaction)
            c.execute("SAVEPOINT " + name)
        else:
            c.execute(self.basic_transaction)
        return c
start transaction [ named point ]
dataset/ETHPy150Open sassoftware/conary/conary/dbstore/psycopg2_drv.py/Database.transaction