]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix support for two phase commit in pg8000 dialect
authorTony Locke <tlocke@tlocke.org.uk>
Sun, 13 Jul 2014 21:38:39 +0000 (22:38 +0100)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 25 Jul 2014 20:47:36 +0000 (16:47 -0400)
commitfc4dbeeaf3f03fce908ed2898a99fb8fafd51019
treea76aea79b7059a061cf8ecad396cd3304d1c56ba
parente17098a4fef79d45eae59c3955f1c055c0120b51
Fix support for two phase commit in pg8000 dialect

The postgresql base dialect has problems with two-phase commit because
there isn't a standard way of handling autocommit in DBAPI. This commit
modifies the pg8000 dialect to use the DBAPI tpc extension, which is
supported by pg8000 as of version 1.9.11.
lib/sqlalchemy/dialects/postgresql/pg8000.py