diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-10-20 16:25:46 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-10-20 16:25:46 -0400 |
| commit | 0b0764b62ba87bdec41d0fc86618f3779cb4e3f0 (patch) | |
| tree | c5182ea25b777551811a99c89982d3c584ee15dd /doc | |
| parent | 73669c7284548d0e5ab2147f66174c301e732650 (diff) | |
| download | sqlalchemy-0b0764b62ba87bdec41d0fc86618f3779cb4e3f0.tar.gz | |
- add a type_coerce() step within Enum, Boolean to the CHECK constraint,
so that the custom type isn't exposed to an operation that is against the
"impl" type's constraint, [ticket:2842]
- this change showed up as some recursion overflow in pickling with labels,
add a __reduce__() there....pickling of expressions is less and less something
that's very viable...
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/changelog_08.rst | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/build/changelog/changelog_08.rst b/doc/build/changelog/changelog_08.rst index 126f3a3b8..727931f9a 100644 --- a/doc/build/changelog/changelog_08.rst +++ b/doc/build/changelog/changelog_08.rst @@ -11,6 +11,17 @@ :version: 0.8.3 .. change:: + :tags: bug, sql + :tickets: 2842 + :versions: 0.9.0 + + The :class:`.Enum` and :class:`.Boolean` types now bypass + any custom (e.g. TypeDecorator) type in use when producing the + CHECK constraint for the "non native" type. This so that the custom type + isn't involved in the expression within the CHECK, since this + expression is against the "impl" value and not the "decorated" value. + + .. change:: :tags: bug, postgresql :tickets: 2844 :versions: 0.9.0 @@ -97,7 +108,8 @@ Fixed bug in default compiler plus those of postgresql, mysql, and mssql to ensure that any literal SQL expression values are rendered directly as literals, instead of as bound parameters, - within a CREATE INDEX statement. + within a CREATE INDEX statement. This also changes the rendering + scheme for other DDL such as constraints. .. change:: :tags: bug, sql |
