]> 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)
committerTony Locke <tlocke@tlocke.org.uk>
Sat, 19 Jul 2014 19:20:12 +0000 (20:20 +0100)
commit8fb6a91f1ba53390d313d9bbef8eac3238d5fcb8
tree4226d2e69109b678599f47c2b09afe6544cff58c
parentebf74bd659340480bb37216f1e64d4b79aba4939
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