Re: [sqlalchemy] Issue with postgres insert on_conflict when using a uniqueConstraint

2017-04-03 Thread mike bayer
noting that your example is erroneously referring to "mysql", the trace you describe is against Postgresql, issue https://bitbucket.org/zzzeek/sqlalchemy/issues/3955/connectionless-execution-autocommit-on is added and fix targeted at 1.1.9 is at https://gerrit.sqlalchemy.org/#/q/I235a25daf4381b

[sqlalchemy] Issue with postgres insert on_conflict when using a uniqueConstraint

2017-04-03 Thread nicolas . rolin
Hello everyone, I encountered a surprising behavior of the postres specific insert when using UniqueConstraint. A test code : from sqlalchemy import Column, Integer, String, UniqueConstraint, create_engine from sqlalchemy.dialects.postgresql import insert as pg_insert from sqlalchemy.ext.decla