Python DB API - commit() v. execute("commit transaction")?
Frank Millman
frank at chagford.com
Fri Jun 2 03:24:58 EDT 2017
"Frank Millman" wrote in message news:ogr3ff$sg1$1 at blaine.gmane.org...
> By default, psycopg2 uses 'autocommit', which means that even a SELECT is
preceded by a 'BEGIN' statement internally. I never changed the default, so
all of the following assumes that autocommit is on.
Oops - by default it does *not* use autocommit, so the following assumes
that it is off.
Frank
More information about the Python-list
mailing list