From: Philip Jenvey Date: Thu, 16 Jul 2009 01:15:01 +0000 (+0000) Subject: disable two phase transaction support on postgresql+zxjdbc, the jdbc driver X-Git-Tag: rel_0_6_6~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=566d2fb9c81be6228a2e0f514d368a0f00a7629e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git disable two phase transaction support on postgresql+zxjdbc, the jdbc driver can't handle it without some more work --- diff --git a/lib/sqlalchemy/test/requires.py b/lib/sqlalchemy/test/requires.py index bf524e1877..b4d5bc0060 100644 --- a/lib/sqlalchemy/test/requires.py +++ b/lib/sqlalchemy/test/requires.py @@ -142,6 +142,8 @@ def two_phase_transactions(fn): no_support('oracle', 'no SA implementation'), no_support('sqlite', 'not supported by database'), no_support('sybase', 'FIXME: guessing, needs confirmation'), + no_support('postgresql+zxjdbc', "FIXME: JDBC driver confuses the transaction state, may " + 'need separate XA implementation'), exclude('mysql', '<', (5, 0, 3), 'not supported by database'), )