This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author palaviv
Recipients Big Stone, berker.peksag, fschulze, ghaering, jaraco, ned.deily, palaviv, r.david.murray, serhiy.storchaka, socketpair, xiang.zhang
Date 2016-12-29.14:49:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Issue #29003 seems to be related to this one. I think that they can be solved the same way as done in Serhiy patch but I would like to suggest a different approach.
I suggest changing the check for DDL statement with a check for DML statement. We actually should start a transaction only for DML statements ( so all other statements (DDL, DCL and TCL) should not start a transaction.
The attached patch solve both this issue and issue #29003.
Date User Action Args
2016-12-29 14:49:22palavivsetrecipients: + palaviv, ghaering, jaraco, ned.deily, r.david.murray, socketpair, berker.peksag, serhiy.storchaka, xiang.zhang, Big Stone, fschulze
2016-12-29 14:49:22palavivsetmessageid: <>
2016-12-29 14:49:22palavivlinkissue28518 messages
2016-12-29 14:49:21palavivcreate